From 8a3e7b1c95f08696ca2a026c1b462aeb8faf6904 Mon Sep 17 00:00:00 2001 From: Lesmiscore Date: Tue, 24 May 2022 03:01:52 +0900 Subject: [PATCH] [yahoo:gyao] Fix extractor This fixes 400 error for /title/ URLs. --- yt_dlp/extractor/yahoo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/yahoo.py b/yt_dlp/extractor/yahoo.py index 3fe6192bf..171fbf585 100644 --- a/yt_dlp/extractor/yahoo.py +++ b/yt_dlp/extractor/yahoo.py @@ -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