[twitter] handle "account is temporarily locked" errors (#5300)

- display proper error message
- add 'locked' option
This commit is contained in:
Mike Fährmann
2024-03-13 22:34:25 +01:00
parent 108abab537
commit d53db6e11a
2 changed files with 49 additions and 15 deletions

View File

@@ -3771,6 +3771,19 @@ Description
* ``"wait"``: Wait until rate limit reset
extractor.twitter.locked
------------------------
Type
``string``
Default
``"abort"``
Description
Selects how to handle "account is temporarily locked" errors.
* ``"abort"``: Raise an error and stop extraction
* ``"wait"``: Wait until the account is unlocked and retry
extractor.twitter.replies
-------------------------
Type