Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send a specific user-agent to tiny.cc as they seem to block urllib's …
…default For some reason, tiny.cc started to block requests with the user-agent "Python-urllib/2.7" which is the default of the urllib module. Using any other user-agent works so we send our own including a link to the script's source code.
- Loading branch information