Created
July 22, 2018 06:12
-
-
Save mwshubham/778bba4ea121d8db9575ed59cc849458 to your computer and use it in GitHub Desktop.
Scape file in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import urllib | |
from bs4 import BeautifulSoup | |
for i in range(101,9851): | |
url = 'https://app.getpricedrop.com/detail/' + str(i) +'?utm_source=whatsapp&utm_medium=msg' | |
boxurl = urllib.urlopen(url).read() | |
soup = BeautifulSoup(boxurl) | |
linescoreA = soup.find("span", {"class": "wrapper-word-price"}) | |
print linescoreA |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment