Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cloudscraper
- # Create new cloudscraper instance
- scraper = cloudscraper.create_scraper()
- # Specify proxies
- proxy = {
- 'http': 'http://your-proxy-ip:port',
- 'https': 'https://your-proxy-ip:port'
- }
- # Make request using specified proxies
- response = scraper.get('https://example.com', proxies=proxy)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement