Skip to content

Instantly share code, notes, and snippets.

@ian-kerins
Last active April 8, 2021 13:57
Show Gist options
  • Save ian-kerins/5ef65d03f82082e107daa74cd3739a5f to your computer and use it in GitHub Desktop.
Save ian-kerins/5ef65d03f82082e107daa74cd3739a5f to your computer and use it in GitHub Desktop.
def get_url(url):
payload = {'api_key': API, 'url': url, '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