You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change src/main.py line447 to proxy = 'your proxy' #such as 127.0.0.1:7890(clash default proxy) proxies = { 'http': 'http://'+proxy, 'https': 'http://'+proxy}
response = self.session.get(url=file['file_variables']['url'], stream=True, headers={**self.headers,'Range':f"bytes={resume_size}-"}, cookies=self.cookies, timeout=self.timeout,proxies=proxies)
This configures proxies for network-restricted regions,
I'm not very proficient in using python, so I can only do this. I don't know how to configure it as a global variable or add it to the execution parameters.
The text was updated successfully, but these errors were encountered:
change
src/main.py
line447 toproxy = 'your proxy' #such as 127.0.0.1:7890(clash default proxy) proxies = { 'http': 'http://'+proxy, 'https': 'http://'+proxy}
response = self.session.get(url=file['file_variables']['url'], stream=True, headers={**self.headers,'Range':f"bytes={resume_size}-"}, cookies=self.cookies, timeout=self.timeout,proxies=proxies)
This configures proxies for network-restricted regions,
I'm not very proficient in using python, so I can only do this. I don't know how to configure it as a global variable or add it to the execution parameters.
The text was updated successfully, but these errors were encountered: