From ae6f53ab354eef1c2cc0324b8d2ce37df9ade9db Mon Sep 17 00:00:00 2001 From: doe1080 <98906116+doe1080@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:34:42 +0900 Subject: [PATCH] fix --- yt_dlp/extractor/yapfiles.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/yt_dlp/extractor/yapfiles.py b/yt_dlp/extractor/yapfiles.py index e2c8a45dff..d0aa93fb95 100644 --- a/yt_dlp/extractor/yapfiles.py +++ b/yt_dlp/extractor/yapfiles.py @@ -24,6 +24,11 @@ class YapFilesIE(InfoExtractor): 'duration': 72, }, }, { + # without hd + 'url': 'https://api.yapfiles.ru/get_player/?uid=video_player_1872528&plroll=1&adv=1&v=vMDE4NzI1Mjgt690b', + 'only_matching': True, + }] + _WEBPAGE_TESTS = [{ 'url': 'https://www.yapfiles.ru/show/3397030/e34b69aa03829d513d7dc3ace6ec9631.mp4.html', 'info_dict': { 'id': 'vMDE4NzI1Mjgt690b', @@ -31,10 +36,6 @@ class YapFilesIE(InfoExtractor): 'title': 'Котята', }, 'skip': 'IE fix required; update _VALID_URL', - }, { - # without hd - 'url': 'https://api.yapfiles.ru/get_player/?uid=video_player_1872528&plroll=1&adv=1&v=vMDE4NzI1Mjgt690b', - 'only_matching': True, }] def _real_extract(self, url):