avallete / yt-playlists-delete-enhancer

Add a button to remove videos watched with more than X percent from watch later playlist.
MIT License
17 stars 3 forks source link

[BUG]Cannot read properties of undefined (reading 'response') #228

Closed water903 closed 5 months ago

water903 commented 6 months ago

Steps to reproduce: YouTube: Home Click Watch later

Expected results: Normal appearance Actual results: appearance"Cannot read properties of undefined (reading 'response')" 2024-3-25 14-49-39

Notes: chrome 123.0.6312.59

avallete commented 6 months ago

I cannot reproduce on my end, from the error message I guess the issue come from this line: https://github.com/avallete/yt-playlists-delete-enhancer/blob/52cb5ab59fe2764b02f862743a3b605cbbda723d/src/yt-api.ts#L116

Maybe you could try to tamper the script to console.log what's "reponse" is and what await response.json() yield.

water903 commented 6 months ago

https://github.com/avallete/yt-playlists-delete-enhancer/pull/226 I follow this. It working.

AlexBilozir commented 4 months ago

I have this bug in 1.7.1 version

AlexBilozir commented 4 months ago
Смотреть позже - YouTube 2024-06-04 15-29-12 Смотреть позже - YouTube 2024-06-04 15-32-42

I suspect that this is the reason. tried to disable all adblocks and other extensions related to YouTube, but still this error.