]> jfr.im git - yt-dlp.git/commit - youtube_dlc/extractor/youtube.py
[youtube] Make search extraction less dependent on json schema.
authorxarantolus <redacted>
Tue, 23 Jun 2020 06:56:21 +0000 (08:56 +0200)
committerxarantolus <redacted>
Sun, 6 Sep 2020 07:22:30 +0000 (09:22 +0200)
commite03b4f3e056b80b99dd4ab4eed12c7089fb80a43
tree345f21fb21fe02fd177073e7a8e30da3dc8f961d
parent19f671f88b2f45c833a9fc7f6f2f7d9016eccc86
[youtube] Make search extraction less dependent on json schema.

If an object looks like a video (it has a `videoId` key), assume that it is.
youtube_dl/extractor/youtube.py