aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/unity.py
diff options
context:
space:
mode:
authorxarantolus <xarantolus@protonmail.com>2020-08-24 14:29:16 +0200
committerxarantolus <xarantolus@protonmail.com>2020-08-24 14:29:16 +0200
commit7d743516b541cf448bbaaa35ac95f8ecc8139432 (patch)
treef797b4c79a82b431ffb9499fd5965dd7e8e49192 /youtube_dl/extractor/unity.py
parent2ad7b6ace9e042a283612f209aa0094819059ae1 (diff)
downloadhypervideo-pre-7d743516b541cf448bbaaa35ac95f8ecc8139432.tar.lz
hypervideo-pre-7d743516b541cf448bbaaa35ac95f8ecc8139432.tar.xz
hypervideo-pre-7d743516b541cf448bbaaa35ac95f8ecc8139432.zip
[youtube] Make `ytcfg.set` config extraction non-fatal
If the markup of the page changes in the future, it might be possible that _FEED_DATA still works, but the other regex does not. SInce it is not necessary for the first page of videos, we make sure the program doesn't exit before extracting them. TL;DR: Extract the first video page even if there are problems
Diffstat (limited to 'youtube_dl/extractor/unity.py')
0 files changed, 0 insertions, 0 deletions