Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Html hidden fields?

    Can someone explain why the source viewer in Google Chrome sees things differently from the element inspector? I am trying to parse a html page in Python but could not get the fields read in. I use

    content= urllib2.urlopen(url).read()

    to read in the html stream. But it is the same as the source viewer. It lacks the "16.00" part, how strange!

    Any help appreciated. I am new to the html world.

    John

  • #2
    New Coder
    Join Date
    Mar 2013
    Location
    Indiana
    Posts
    26
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Based on the few differences I'm seeing here, they look like changes you've made. Possibly you need to re-upload the script, or re-open the page source, clear cache from Chrome, or something like that. The issue is definitely interesting if it's not just a minor confusion in that field, but it most likely is that.

    I'm assuming the bottom is a direct Chrome source code? Try closing that and reopening it... then close Chrome and reopen it. You could also be viewing a different file by accident?

  • #3
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I double check the original page, it is definitely the same section. Here is the link http://www.next.co.uk/g38448s1, if you open in Google Chrome and element inspector the price drop down list , you can see the details of prices and whether each item is in stock. But if you view the source code, they are just simply item numbers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •