maple3142 / browser-extensions

我的一些 userjs & usercss
88 stars 33 forks source link

fix: edge case where playerResponse is invalid #27

Closed mylylyl closed 2 years ago

mylylyl commented 3 years ago

playerResponse and/or playerResponse.streamingData can be invalid (I tested this video)

maple3142 commented 3 years ago

That video works for me though: image

Current new youtubei api works quite reliably.

mylylyl commented 3 years ago

It works but you'll get alert window. are you saying you don't get alerts?

maple3142 commented 3 years ago

It works but you'll get alert window. are you saying you don't get alerts?

No, I don't get any alert.

mylylyl commented 3 years ago

It works but you'll get alert window. are you saying you don't get alerts?

No, I don't get any alert.

I'm getting one response with valid info then subsequent ones with ads info only, which triggers catch. exp

maple3142 commented 3 years ago

It looks really weird in your screenshot, because things like parsedecsig result shouldn't appear 2 times.