summaryrefslogtreecommitdiffstats
path: root/spec/helpers_spec.cr
diff options
context:
space:
mode:
authorsaltycrys <73420320+saltycrys@users.noreply.github.com>2020-12-03 18:10:41 +0100
committersaltycrys <73420320+saltycrys@users.noreply.github.com>2020-12-03 18:10:41 +0100
commit7823c07f1aea70828f0eb9244b961d90abb5d23f (patch)
treed6da3651cf7e82c20368f8bb2128db6eaa4467dd /spec/helpers_spec.cr
parentff3b53e34ad8f6d7c09f427aa123e8e67c9a2733 (diff)
downloadinvidious-7823c07f1aea70828f0eb9244b961d90abb5d23f.tar.gz
invidious-7823c07f1aea70828f0eb9244b961d90abb5d23f.tar.bz2
invidious-7823c07f1aea70828f0eb9244b961d90abb5d23f.zip
Fix `extract_polymer_config`
The `ytInitialPlayerResponse` regex can now handle `var` and `window` assignments. The video streams can now be extracted from `player_response` and `initial_data`. This fixes the descriptions on videos and videos themselves. Videos are technically broken right now, but work becasue of a fallback that goes through embeds.
Diffstat (limited to 'spec/helpers_spec.cr')
0 files changed, 0 insertions, 0 deletions