Created
January 22, 2020 11:59
-
-
Save tvirot/7c99fd4cee7c4b725966b90b06d5ba29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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