-
Notifications
You must be signed in to change notification settings - Fork 0
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
Prevent videos from occasionally being downloaded repeatedly forever #12
Comments
ExampleVideo title: Fantastic DIY Speakers for less than $30! |
Counter ExampleVideo title: Bulletin Board Stereo Speakers | Styrofoam Bluetooth |
Maybe Telegram is sending us multiple messages. Maybe we need to check the message ID to make sure we haven't received this message before. |
If that's true, 6d97f35 will help us get to the bottom of it. |
I learned from a conversation with Telegram bot support that if I don't respond with an HTTP status code of 200 in time, Telegram will try again. I have only been sending 200 OK after everything finishes. For long videos, the download takes longer than the timeout before Telegram tries again. |
Once in a while, I’ll send the bot a video and it will download it again and again until I stop it or the server runs out of space.
The text was updated successfully, but these errors were encountered: