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

Add FloodWait except to media download #19

Conversation

aoleg94
Copy link

@aoleg94 aoleg94 commented Jan 9, 2024

Add FloodWait except to media download to handle this error from the script.

Before this change the exception would only be printed and the script would continue without a way to detect this error.

pyrogram#1348

Add FloodWait except to media download to handle this error from the script.

Before this change the exception would only be printed and the script would continue without a way to detect this error.
@KurimuzonAkuma KurimuzonAkuma self-assigned this Jan 9, 2024
Copy link
Owner

@KurimuzonAkuma KurimuzonAkuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really needed for this since my fork uses media session caching, but ok

@KurimuzonAkuma KurimuzonAkuma merged commit da4b467 into KurimuzonAkuma:dev Jan 9, 2024
KurimuzonAkuma pushed a commit that referenced this pull request Feb 19, 2024
Add FloodWait except to media download to handle this error from the script.

Before this change the exception would only be printed and the script would continue without a way to detect this error.

Co-authored-by: KNF Apps <[email protected]>
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.

3 participants