[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 @@ class YahooGyaOIE(InfoExtractor):
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