The Downloader for Reddit is a GUI application with some advanced features to extract and download submitted content from reddit.
GNU General Public License v3.0
505
stars
47
forks
source link
fix: add a timeout to abort hanging requests #119
Closed
crccheck closed 4 years ago
For many reasons, http requests may hang. I'll just defer to the official docs:
https://2.python-requests.org/en/master/user/quickstart/#timeouts
I was finding that DownloaderForReddit would sometimes hang forever. Adding this timeout fixed it and downloads were correctly recognized as failed.