diff options
author | Konstantin Kulakov <16433297+kvk-2015@users.noreply.github.com> | 2025-01-26 02:21:45 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 22:21:45 +0100 |
commit | 61ae5dc34ac775d6c122575e21ef2153b1273a2b (patch) | |
tree | beec87e13d0113c6122e1d7bf5a34e2e017a65ba | |
parent | 465167910407449354eb48e9861efd0819f53eb5 (diff) |
[ie/1tv] Support sport1tv.ru domain (#11889)
Closes #11894
Authored by: kvk-2015
-rw-r--r-- | yt_dlp/extractor/firsttv.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/firsttv.py b/yt_dlp/extractor/firsttv.py index 2d47ee561..ac7697bb3 100644 --- a/yt_dlp/extractor/firsttv.py +++ b/yt_dlp/extractor/firsttv.py @@ -12,7 +12,7 @@ from ..utils import ( class FirstTVIE(InfoExtractor): IE_NAME = '1tv' IE_DESC = 'Первый канал' - _VALID_URL = r'https?://(?:www\.)?1tv\.ru/(?:[^/]+/)+(?P<id>[^/?#]+)' + _VALID_URL = r'https?://(?:www\.)?(?:sport)?1tv\.ru/(?:[^/?#]+/)+(?P<id>[^/?#]+)' _TESTS = [{ # single format @@ -52,6 +52,9 @@ class FirstTVIE(InfoExtractor): }, { 'url': 'http://www.1tv.ru/shows/tochvtoch-supersezon/vystupleniya/evgeniy-dyatlov-vladimir-vysockiy-koni-priveredlivye-toch-v-toch-supersezon-fragment-vypuska-ot-06-11-2016', 'only_matching': True, + }, { + 'url': 'https://www.sport1tv.ru/sport/chempionat-rossii-po-figurnomu-kataniyu-2025', + 'only_matching': True, }] def _real_extract(self, url): |