CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Html hidden fields? (http://www.codingforums.com/showthread.php?t=289826)

qing3000 03-14-2013 10:19 PM

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.

Johnhttp://i50.tinypic.com/2epltdw.jpg

Chrystyan 03-15-2013 10:18 PM

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?

qing3000 03-18-2013 11:25 PM

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.


All times are GMT +1. The time now is 06:39 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.