Skip to content

[Feature] retry failing request before giving up#666

Open
zvictor wants to merge 1 commit intodrawrowfly:masterfrom
zvictor:retries
Open

[Feature] retry failing request before giving up#666
zvictor wants to merge 1 commit intodrawrowfly:masterfrom
zvictor:retries

Conversation

@zvictor
Copy link
Copy Markdown
Contributor

@zvictor zvictor commented Sep 2, 2021

When using tiktok-scraper for intensive tasks, such as downloading hundreds of videos at once, it can happen that a single request fails and then the whole process is ended.

This PR let requests be retried before giving up on them. This is an effective workaround for connectivity/networking issues, and allows for customisation through the --retry option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant