Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] retry failing request before giving up #666

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zvictor
Copy link
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