From c231459d6df82f11dee4fb136b9ee0aefd53932f Mon Sep 17 00:00:00 2001 From: doe1080 <98906116+doe1080@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:01:46 +0900 Subject: [PATCH] YapFilesIE --- yt_dlp/extractor/generic.py | 10 ---------- yt_dlp/extractor/yapfiles.py | 8 ++++++++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py index 062f27b1a4..22cdc0d63c 100644 --- a/yt_dlp/extractor/generic.py +++ b/yt_dlp/extractor/generic.py @@ -1651,16 +1651,6 @@ class GenericIE(InfoExtractor): }, 'params': {'skip_download': 'm3u8'}, 'skip': 'IE fix required; embed detection', - }, { - # 🔧123 - # YapFilesIE; should be supported by _VALID_URL - 'url': 'https://www.yapfiles.ru/show/3397030/e34b69aa03829d513d7dc3ace6ec9631.mp4.html', - 'info_dict': { - 'id': 'vMDE4NzI1Mjgt690b', - 'ext': 'mp4', - 'title': 'Котята', - }, - 'skip': 'IE fix required; update _VALID_URL', }, { # ✅124 # YoutubeIE diff --git a/yt_dlp/extractor/yapfiles.py b/yt_dlp/extractor/yapfiles.py index 8d89d1d109..e2c8a45dff 100644 --- a/yt_dlp/extractor/yapfiles.py +++ b/yt_dlp/extractor/yapfiles.py @@ -23,6 +23,14 @@ class YapFilesIE(InfoExtractor): 'thumbnail': r're:^https?://.*\.jpg$', 'duration': 72, }, + }, { + 'url': 'https://www.yapfiles.ru/show/3397030/e34b69aa03829d513d7dc3ace6ec9631.mp4.html', + 'info_dict': { + 'id': 'vMDE4NzI1Mjgt690b', + 'ext': 'mp4', + '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',