More flexible Rate Controller (#716)

Move InstaloaderContext's rate controlling logic into a class
RateController with fine-grained methods to enable easily changing
Instaloader's behavior regarding rate limits.
This commit is contained in:
Alexander Graf authored and GitHub committed 2020-07-11 13:54:31 +02:00
1 parent fa62025ea3
commit fbe05a1add
5 files changed
+133 -95

No files matched your search

+11
View File
@@ -229,5 +229,16 @@ Exceptions
``InstaloaderContext`` (Low-level functions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
``InstaloaderContext``
""""""""""""""""""""""
.. autoclass:: InstaloaderContext
:no-show-inheritance:
``RateController``
""""""""""""""""""
.. autoclass:: RateController
:no-show-inheritance:
.. versionadded:: 4.5