Created
February 26, 2018 09:27
-
-
Save montenegrodr/985d930490bf22bc1c7a0c762f30b38f to your computer and use it in GitHub Desktop.
LetMeCrawl — 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(): | |
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