support passing timeout to requests (#422)

Adds a request_timeout parameter to Instaloader instantiation.

Closes #330.
This commit is contained in:
corpone2
2020-01-13 12:59:00 -08:00
committed by Alexander Graf
parent d8ba30b91b
commit 63eb9e71ca
4 changed files with 50 additions and 15 deletions

View File

@@ -246,6 +246,10 @@ Miscellaneous Options
if login credentials are needed but not given.
This is handy for running :ref:`instaloader-as-cronjob`.
.. option:: --request-timeout N
Seconds to wait before timing out a connection request.
.. option:: +args.txt
Read arguments from file `args.txt`, a shortcut to provide arguments from