Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib2
- from BeautifulSoup import BeautifulSoup
- for n in range (1, 100):
- soup = BeautifulSoup(urllib2.urlopen("http://192.168.1.126?id="+str(n)))
- print ('probando el id '+str(n)+'');print soup.title
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement