aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLesmiscore <nao20010128@gmail.com>2022-05-24 03:01:52 +0900
committerLesmiscore <nao20010128@gmail.com>2022-05-24 03:01:52 +0900
commit8a3e7b1c95f08696ca2a026c1b462aeb8faf6904 (patch)
treefe12d75713b64cc150cb85e217b9daae31fbb340
parentd9473db78ad4c002de53f4cc7c9b045399f8ab72 (diff)
downloadhypervideo-pre-8a3e7b1c95f08696ca2a026c1b462aeb8faf6904.tar.lz
hypervideo-pre-8a3e7b1c95f08696ca2a026c1b462aeb8faf6904.tar.xz
hypervideo-pre-8a3e7b1c95f08696ca2a026c1b462aeb8faf6904.zip
[yahoo:gyao] Fix extractor
This fixes 400 error for /title/ URLs.
-rw-r--r--yt_dlp/extractor/yahoo.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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