-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JobCommand: reimplement urlretrieve with requests
urllib.request.urlretrieve fails to set the `Host:` header, required for hosts like cdn.discordapp.com that are protected by cloudflare. Who knew?
- Loading branch information
1 parent
162f049
commit e1e6811
Showing
3 changed files
with
81 additions
and
91 deletions.
There are no files selected for viewing
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
Oops, something went wrong.