1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-01 15:15:15 +00:00

[ie/Eurosport] Support local URL variants (#10785)

Authored by: seproDev
This commit is contained in:
sepro
2024-08-20 00:12:42 +02:00
committed by GitHub
parent bef1d4d6fc
commit f0bb28504c
2 changed files with 47 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ from ..utils import (
class TVN24IE(InfoExtractor):
_WORKING = False
_VALID_URL = r'https?://(?:(?:[^/]+)\.)?tvn24(?:bis)?\.pl/(?:[^/]+/)*(?P<id>[^/]+)'
_VALID_URL = r'https?://(?:(?!eurosport)[^/]+\.)?tvn24(?:bis)?\.pl/(?:[^/?#]+/)*(?P<id>[^/?#]+)'
_TESTS = [{
'url': 'http://www.tvn24.pl/wiadomosci-z-kraju,3/oredzie-artura-andrusa,702428.html',
'md5': 'fbdec753d7bc29d96036808275f2130c',