[InfoExtractor] Add search methods for Next/Nuxt.js from yt-dlp
authordirkf <fieldhouse@gmx.net>
Fri, 5 May 2023 18:25:42 +0000 (19:25 +0100)
committerdirkf <fieldhouse@gmx.net>
Wed, 19 Jul 2023 21:14:50 +0000 (22:14 +0100)
commitb2741f2654e6ddfebc1771b5d5fadb5fd6fe3863
treecaf46c5f7dd2af308ba0a69797097c8cd8ce77ac
parent846522204104e3078c597fa1872465024a684ad6
[InfoExtractor] Add search methods for Next/Nuxt.js from yt-dlp
* add _search_nextjs_data(), from https://github.com/yt-dlp/yt-dlp/pull/1386
  thanks selfisekai
* add _search_nuxt_data(), from https://github.com/yt-dlp/yt-dlp/pull/1921,
  thanks Lesmiscore, pukkandan
* add tests for the above
* also fix HTML5 type recognition and tests, from
  https://github.com/yt-dlp/yt-dlp/commit/222a230871fe4fe63f35c49590379c9a77116819,
  thanks Lesmiscore
* update extractors in PR using above, fix tests.
test/test_InfoExtractor.py
youtube_dl/extractor/clipchamp.py
youtube_dl/extractor/common.py
youtube_dl/extractor/globalplayer.py
youtube_dl/extractor/whyp.py