0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[yahoo:gyao] Fix extractor

This fixes 400 error for /title/ URLs.
This commit is contained in:
Lesmiscore 2022-05-24 03:01:52 +09:00
parent d9473db78a
commit 8a3e7b1c95
No known key found for this signature in database
GPG key ID: 0EC2B52CF86236FF

View file

@ -434,7 +434,7 @@ def _entries(self, program_id):
page = 1
while True:
playlist = self._download_json(
f'https://gyao.yahoo.co.jp/api/programs/{program_id}/videos?page={page}', program_id,
f'https://gyao.yahoo.co.jp/api/programs/{program_id}/videos?page={page}&serviceId=gy', program_id,
note=f'Downloading JSON metadata page {page}')
if not playlist:
break