Skip to content

Instantly share code, notes, and snippets.

@ian-kerins
Created April 12, 2021 13:55
Show Gist options
  • Save ian-kerins/380cad1da761ef352ec5c0fdfe1668b9 to your computer and use it in GitHub Desktop.
Save ian-kerins/380cad1da761ef352ec5c0fdfe1668b9 to your computer and use it in GitHub Desktop.
def get_url(url):
payload = {'api_key': API_KEY, 'url': url, 'autoparse': 'true', 'country_code': 'us'}
proxy_url = 'http://api.scraperapi.com/?' + urlencode(payload)
return proxy_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment