0

I was trying to access a Youtube stream via Streamlink tool in Python. However, I have a proxy (Burp). For unknow reason, only streamlink traffic is not passing through!

For instance, the following python code works fine:

proxies = {"http": "http://10.0.0.1:8080", "https": "http://10.0.0.1:8080"}
r = requests.get("https://www.example.com/", proxies=proxies, verify=False)

whereas this code, doesnot work

proxy = 'http://10.0.0.1:8080'
os.system(f'streamlink ... --http-proxy {proxy} {youtube_url} ...')

(...) refers to other unrelated parameters which works fine if Burp is not acting as a proxy

MKSOI
  • 49
  • 5

0 Answers0