]> jfr.im git - yt-dlp.git/commit - yt_dlp/extractor/la7.py
[la7] Fix extraction (closes #23323)
authorLeonardo Taccari <redacted>
Sun, 5 Jan 2020 16:29:51 +0000 (17:29 +0100)
committerLeonardo Taccari <redacted>
Fri, 28 Aug 2020 10:09:29 +0000 (12:09 +0200)
commit8067a2b8b4a733d83c247acabf9d1a270493f2f5
tree1e96e1f379b3c2fbd852ca50fb4b42ccf8437fdb
parentf5863a3ea08492bd9fc04c55e1e912d24e92d49b
[la7] Fix extraction (closes #23323)

Parsing `videoParams' or `videoLa7' JavaScript snippets as JSON is getting too
hard for js_to_json.  Just extract the `vid' from there and use _search_og_*
for all other data.

Remove the 2nd test: unfortunately the page are removed after a couple of
days/weeks.

Thanks to Elia Geretto for spotting and suggesting several problems with the
tests!

Closes #23323.
youtube_dl/extractor/la7.py