]> git.gir.st - subscriptionfeed.git/commit
further enhance age-gate bypass
authorgirst <tobi@isticktoit.net>
Fri, 30 Jul 2021 08:45:01 +0000 (10:45 +0200)
committergirst <tobi@isticktoit.net>
Fri, 30 Jul 2021 09:24:09 +0000 (11:24 +0200)
commit00c18032c3330d11177813dd43bde66e700dbc2f
tree545d9975962f674f7a2e413512e878f9f1ea36ca
parentfc1268794ab28c0b3b069a84c7e8df4ef2743816
further enhance age-gate bypass

only non-embeddable, age-gated videos can't be played now. we try the
embedded version first, since this works on all videos that don't have
embedding disabled by the uploader. only on those, we fetch the /watch
version. if it still doesn't work, we look at the error message to
determine if this was an age-gate or another error.

further values for clientScreen (extracted from player/base.js):
EMBED,WATCH,CHANNEL,LIVE_MONITOR,WATCH_FULL_SCREEN,ADUNIT,UNKNOWN
app/common/common.py
Imprint / Impressum