web scraping problem html code is not seen fully [closed] - javascript

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 9 hours ago.
Improve this question
I am trying to scrap the website using selinium and after no success beatiful soup. When i inspect the website from chrome i did see the links inside the page meaning a long html code. but when i try to extract that code in text format using beautiful soup i only see very main code. not all the tags with in.
then i tried online html code reader and they also show me same result as beatiful soup.
can anyone guide me how to scrap that website or extract the full code. i am unable to find the problem with the website.
https://www.gsaadvantage.gov/advantage/ws/search/advantage_search?q=0:8AC-HID-EL-97000-EKIOSK&db=0&searchType=0
link is here
try doing scraping through selenium, beatiful soup and python . but unable to get the tag.
I don't know what kind of website is this.

Related

Javascript not showing up on GitHub Pages [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 months ago.
This post was edited and submitted for review 4 months ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I'm new to web development.
I made a website using HTML, CSS, and JavaScript and uploaded it to GitHub Pages. My JavaScript doesn't work there.
When running on my localhost, everything works fine, but on GitHub pages the javascript simply does not show up on my HTML page. If you check the IMPORTANTE_LER.md file, there's a youtube video on how it looks on localhost.
My repo: https://github.com/maruan-achkar/N2PAC_NEW
Console errors:
Probably the way you included your JS file path breaks in Github Pages because it can't find the file so adding a "./something.js" to your include might fix it.
<script src="./something.js" type="module"></script>

Trying to get a simple php form to fire [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I shouldnt even be in HTML/CSS, but here I am trying to incorporate a php modal contact form into my site...
I'm trying to get all of a demo form's functionality into my footer page (and then I'll restyle everything.)
http://danux.me/sections/footer_modal.html
I'm trying to get "email me" to fire ideally, but am settling now for just the Demo button to fire the popup form.
I also uploaded the demo form I'm pulling code from, just to make sure it works on my site. (It does.)
http://danux.me/contact/
Any guesses as to what I'm doing wrong?
Your first link is in a different folder, yet the url for $.get points to the same relative file. Which isn't there.
So in contact.js needs to have
$.get("../contact/data/contact.php", function(data){
I obviously cant test this. And it looks like there is some redesign in folderstructure coming up.

how to click a link with scraper/crawler [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
So i'm using mechanize/nokogiri with a rails project and need to be able to click a link on a web page.
the webpage is this: https://www.fanduel.com/p/Home
(must be signed in)
so what I want to do is click a link that matches "NBA Salary Cap 60k Mon Dec 15th"
(or whatever todays date is)
after that link is clicked and the page is loaded, i've built a scraper to get the info i need so that isn't a problem.
I just need to be able to parse through that table and click a link.
Maybe it's my inexperience with mechanize but I think the table is generated by JS and I can't get access to those elements since mechanize is an html/css parser?
anybody have any ideas on how to do this? (my hunch is to use something like phantomjs but am unfamiliar with it)

is there away to get the path of HTML element [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I'm trying to change or remove errors from a HTML page I'm using firebug add in firefox and I have this part which I really don't where its writen :
is there a way to get the file where this is write .
thanks for any hint
Continuing from my comment: The highlighted element is dynamically added by a slider plugin e.g. like http://jqueryui.com/slider/ The clue is the classes like ui-slider-handler.
Look for the id="voltage" to find the place in the HTML where the div is and look for #voltage or ("voltage" or 'voltage') to see where the plugin is connect to it (in any jQuery or Javascript code).
I don't think you can get the exact path of the file, but check "View page source" option to see what files the page has been linked to.

Javascript implementation of php code for tracking visitor on page [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am writing php code to track the visitors details who is visiting that web page.
Now i want to write a javascript code on the pages i want to track.
The javascript code will be using that php file code which i am writing to track visitors.
Can somebody please guide what should be my javascript code.
If the PHP code is on same page then you can do something like this:
<script>
var code = '<?php echo $server_code;?>';
</script>
If it's on another page, then you can fetch it using an Ajax request.

Categories