]> jfr.im git - yt-dlp.git/commit - yt_dlp/extractor/youtube.py
[youtube] Parse API parameters from initial webpage (#230)
authorcoletdjnz <redacted>
Sun, 11 Apr 2021 20:23:04 +0000 (20:23 +0000)
committerGitHub <redacted>
Sun, 11 Apr 2021 20:23:04 +0000 (01:53 +0530)
commitf4f751af409a1db86215b87cc424960a8236ee93
tree802f9eff50fda8e1562525534effc035bf888a0a
parent1988fab7e3153d3614b28cab904edf3899183e06
[youtube] Parse API parameters from initial webpage (#230)

* Obtain innertube_context, api_key and x-goog-visitor-id from webpage
* Generalize the header & Innertube_context extraction across YouTube extractors

Related: https://github.com/ytdl-org/youtube-dl/commit/1b0a13f33cfb3644cc718d35951ea85bb1905459

Authored by: colethedj
yt_dlp/extractor/youtube.py