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

Prevent use of old data #28

Merged
merged 1 commit into from
Feb 8, 2021
Merged

Prevent use of old data #28

merged 1 commit into from
Feb 8, 2021

Conversation

pinkywafer
Copy link
Collaborator

closes #26

@ludeeus Can you let me know if you're happy with this? - The issue seems to be caused by youtube caching some data and returning old information. By checking the expiry of the data and ensuring that it is newer than the previous time it was checked seems to resolve the problem.
Also, I've used the dateutil.parser as the expiry returned seems to include timezone also.

Copy link
Collaborator

@ludeeus ludeeus left a comment

Choose a reason for hiding this comment

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

LGTM!

@ludeeus ludeeus merged commit 4c2c2e7 into master Feb 8, 2021
@ludeeus ludeeus deleted the prevent-old-data branch February 8, 2021 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate url changes per new video - changing back to a previous upload url
2 participants