ChrisVilches / Youtube-Podcast

System for scraping Youtube videos and converting them into podcasts (or music files).
2 stars 0 forks source link

Sometimes data gets corrupted and also cached, but the cache is never cleaned up #10

Open ChrisVilches opened 1 year ago

ChrisVilches commented 1 year ago

This means you can never fetch something (even if it's fetchable) because the corrupted data has been cached.

This happens sometimes, but not sure under what conditions.

Note that not caching 404 (or other errors) results makes it possible for the user to trigger the request again, and this could potentially be a problem (there could be too many requests). (Although nothing prevents the user from triggering non-cached requests, so this vulnerability is not just related to caching).

ChrisVilches commented 1 year ago

Also note that some errors are from Youtube.js

Example:

InnertubeError: Something went wrong at PlayerMicroformat!
This is a bug, please report it at https://github.com/LuanRT/YouTube.js/issues