Skip to content

Instantly share code, notes, and snippets.

@tvirot
Created January 22, 2020 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvirot/7c99fd4cee7c4b725966b90b06d5ba29 to your computer and use it in GitHub Desktop.
Save tvirot/7c99fd4cee7c4b725966b90b06d5ba29 to your computer and use it in GitHub Desktop.
import requests
# Find Thailand https proxy from this link https://free-proxy-list.net/
# Edit IP Address and Port in proxy
proxy = {
  'https': 'http://118.174.233.41:41469',
}
response = requests.get(api_url, proxies=proxy)
response.encoding = 'utf-8-sig'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment