sniklaus / youtube-watchmarker

a browser extension that keeps track of your YouTube watch history and marks videos that you have already watched
GNU General Public License v3.0
155 stars 19 forks source link

Pagination not working during manual youtube synchronization #103

Closed shoaibshakeel381 closed 9 months ago

shoaibshakeel381 commented 1 year ago

Youtube apis were failing with mutliple values in Origin header error messag. This caused paginated lookup requests from youtube data api to break.

shoaibshakeel381 commented 1 year ago

Paginations still stops after around 5200 videos. This is either due to no delay between each request resulting in Youtube throttling or maybe youtube just doesn't returns full history.

sniklaus commented 9 months ago

Thank you for bringing this up! I have recently fixed this issue by rewriting the logic to:

https://github.com/sniklaus/youtube-watchmarker/blob/447a201a08cb5a326b6998f1686f810fb6d19182/background.js#L1666-L1691