openzim / gutenberg

Scraper for downloading the entire ebooks repository of project Gutenberg
https://download.kiwix.org/zim/gutenberg
GNU General Public License v3.0
126 stars 37 forks source link

Fix `requests` call without timeout in `utils.py` #197

Open benoit74 opened 10 months ago

benoit74 commented 10 months ago

# noqa: S113 hint has been added by #191 in utils.py

This hint detected that we are using requests without specifying a timeout.

We should add one. To be decided: what is the proper timeout. Probably to be fixed together with #142.