You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running your script once per hour automatically in the background. And I noticed again and again, that lots of videos are missing.
Apparently the issue is that the last.txt get's updated even when the server could not be reached (e.g. no Internet connection).
So when I'm somewhere where I don't have have Internet or where it's very unstable (like on a train for instance), it just updates the last.txt to the current timestamp without downloading any of the new videos and thus a lot of new videos will never be downloaded...
I'm not really a Python guy, but it would seem that a simple if statement checking if any new videos have been found before writing to the last.txt would fix this bug.
Edit:
It also seems that videos get skipped when a new video is released while other videos are still being downloaded.. I'm not 100% certain about that, though. I only know that videos sometimes get skipped even when I have an Internet connection.
The text was updated successfully, but these errors were encountered:
It might be due to videos appearing in rss with slight delay not at their publication date. The solution would be to store ids of videos that were already downloaded.
I am running your script once per hour automatically in the background. And I noticed again and again, that lots of videos are missing.
Apparently the issue is that the last.txt get's updated even when the server could not be reached (e.g. no Internet connection).
So when I'm somewhere where I don't have have Internet or where it's very unstable (like on a train for instance), it just updates the last.txt to the current timestamp without downloading any of the new videos and thus a lot of new videos will never be downloaded...
I'm not really a Python guy, but it would seem that a simple if statement checking if any new videos have been found before writing to the last.txt would fix this bug.
Edit:
It also seems that videos get skipped when a new video is released while other videos are still being downloaded.. I'm not 100% certain about that, though. I only know that videos sometimes get skipped even when I have an Internet connection.
The text was updated successfully, but these errors were encountered: