Created
February 25, 2018 19:47
-
-
Save montenegrodr/1da2014af4e0bb587f025271b253ac83 to your computer and use it in GitHub Desktop.
Web Scraping sem ser bloqueado
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
import requests | |
from letmecrawl import letmecrawl | |
for proxy in letmecrawl.letmecrawl(): | |
response = requests.get( | |
url='http://ifconfig.co/json', | |
proxies={'http': str(proxy)} | |
) | |
print response.content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment