Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import proxygenie
- #Returns a requests session with random US proxy set
- geoFreeSession = proxygenie.Session('US')
- #Request a webpage that's blocked in the UK
- unblockedUkPage = geoFreeSession.get(url)
- #Do what you want with the data :)
- print unblockedUkPage.content
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement