]> git.gir.st - subscriptionfeed.git/commit
*real* fix for 403 problem
authorgirst <tobi@isticktoit.net>
Sun, 28 May 2023 15:31:45 +0000 (15:31 +0000)
committergirst <tobi@isticktoit.net>
Sun, 28 May 2023 15:42:47 +0000 (15:42 +0000)
commitec34bcbf2071e524e101f35ac62b1bef25e54faf
tree75af7b0a2541dd73d413d9193c5f5f5516b055c2
parent7bad096662227cc3fde197f96f9f944f705fa565
*real* fix for 403 problem

apparently, youtube shorts adds '8AEB', another working parameter might
be 'CgIQBg%3D%3D'. all this is untested and we just cargo-culted 8AEB.

it turns out, this
1) isn't a tcp problem, but just googlevideo blacklisting generated urls
   on second/third(ish) reload
2) was known by newpipe and invidious for half a year.

avoiding youtubei.googleapis.com was a red herring, too.

more unsorted information:
https://github.com/TeamNewPipe/NewPipe/issues/9038#issuecomment-1289756816
https://github.com/TeamNewPipe/NewPipeExtractor/pull/960
https://github.com/ytdl-org/youtube-dl/issues/30725
https://github.com/iv-org/invidious/commit/09b9b758dea2e9dc502ba497a34ae02cbb37ae46

NewPipeExtractor writes in YoutubeStreamExtractor.java @a4db106:
// Workaround getting streaming URLs which can return 403 HTTP response
// codes by using stories parameter for Android client requests
// This behavior only happen in certain countries such as UK as of
// 10.29.2022
app/common/common.py
Imprint / Impressum