Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib
- page = urllib.urlopen('http://www.gumtree.com.au/s-sydney/l3003435')
- for line in page:
- if ' data-adId' in line:
- print line
- break
- page.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement