Skip to content

Instantly share code, notes, and snippets.

@montenegrodr
Created February 25, 2018 19:46
Show Gist options
  • Save montenegrodr/70c0c8a5206e078dd63430a6888ff6fd to your computer and use it in GitHub Desktop.
Save montenegrodr/70c0c8a5206e078dd63430a6888ff6fd to your computer and use it in GitHub Desktop.
Web Scraping sem ser bloqueado
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