From 24ee70ebddff90f49422d71cf066a6eeaee84681 Mon Sep 17 00:00:00 2001 From: doe1080 <98906116+doe1080@users.noreply.github.com> Date: Wed, 16 Jul 2025 22:10:49 +0900 Subject: [PATCH] PlaywireIE --- yt_dlp/extractor/generic.py | 10 ---------- yt_dlp/extractor/playwire.py | 15 +++++++++++---- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py index 174aace4f..bcb6ff3ba 100644 --- a/yt_dlp/extractor/generic.py +++ b/yt_dlp/extractor/generic.py @@ -1051,16 +1051,6 @@ class GenericIE(InfoExtractor): }, 'expected_warnings': ['HTTP Error 400: Bad Request', 'Ignoring subtitle tracks found in the HLS manifest'], 'params': {'skip_download': True}, - }, { - # 🔍89 - # PlaywireIE - 'url': 'https://www.cinemablend.com/new/First-Joe-Dirt-2-Trailer-Teaser-Stupid-Greatness-70874.html', - 'info_dict': { - 'id': '3519514', - 'ext': 'mp4', - 'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer', - }, - 'skip': 'Site changed', }, { # ✅124 # YoutubeIE diff --git a/yt_dlp/extractor/playwire.py b/yt_dlp/extractor/playwire.py index 8539a4b56..8d6630b5a 100644 --- a/yt_dlp/extractor/playwire.py +++ b/yt_dlp/extractor/playwire.py @@ -19,6 +19,7 @@ class PlaywireIE(InfoExtractor): 'thumbnail': r're:^https?://.*\.png$', 'duration': 145.94, }, + 'skip': 'Invalid URL', }, { # m3u8 in f4m 'url': 'http://config.playwire.com/21772/videos/v2/4840492/zeus.json', @@ -27,10 +28,7 @@ class PlaywireIE(InfoExtractor): 'ext': 'mp4', 'title': 'ITV EL SHOW FULL', }, - 'params': { - # m3u8 download - 'skip_download': True, - }, + 'skip': 'Invalid URL', }, { # Multiple resolutions while bitrates missing 'url': 'http://cdn.playwire.com/11625/embed/85228.html', @@ -42,6 +40,15 @@ class PlaywireIE(InfoExtractor): 'url': 'http://cdn.playwire.com/v2/12342/config/1532636.json', 'only_matching': True, }] + _WEBPAGE_TESTS = [{ + 'url': 'https://www.cinemablend.com/new/First-Joe-Dirt-2-Trailer-Teaser-Stupid-Greatness-70874.html', + 'info_dict': { + 'id': '3519514', + 'ext': 'mp4', + 'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer', + }, + 'skip': 'Site changed', + }] def _real_extract(self, url): mobj = self._match_valid_url(url)