aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/br.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-04-06 00:09:08 +0800
committerJesús <heckyel@hyperbola.info>2022-04-06 00:09:08 +0800
commit0150bfdaba1b5b92521dea896f810083dbfed417 (patch)
tree98f604716f3abfe031f84e0dbb63db82c00e4dbb /yt_dlp/extractor/br.py
parent950cc067b8c41ac246deb4725177a372c95d8341 (diff)
parenta44ca5a470e09b5170fc9c3a46733f050fadbfae (diff)
downloadhypervideo-pre-0150bfdaba1b5b92521dea896f810083dbfed417.tar.lz
hypervideo-pre-0150bfdaba1b5b92521dea896f810083dbfed417.tar.xz
hypervideo-pre-0150bfdaba1b5b92521dea896f810083dbfed417.zip
updated from upstream | 06/04/2022 at 00:09
Diffstat (limited to 'yt_dlp/extractor/br.py')
-rw-r--r--yt_dlp/extractor/br.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/br.py b/yt_dlp/extractor/br.py
index 7169eceb6..0155827d8 100644
--- a/yt_dlp/extractor/br.py
+++ b/yt_dlp/extractor/br.py
@@ -175,7 +175,7 @@ class BRIE(InfoExtractor):
class BRMediathekIE(InfoExtractor):
IE_DESC = 'Bayerischer Rundfunk Mediathek'
- _VALID_URL = r'https?://(?:www\.)?br\.de/mediathek/video/[^/?&#]*?-(?P<id>av:[0-9a-f]{24})'
+ _VALID_URL = r'https?://(?:www\.)?br\.de/mediathek//?video/(?:[^/?&#]+?-)?(?P<id>av:[0-9a-f]{24})'
_TESTS = [{
'url': 'https://www.br.de/mediathek/video/gesundheit-die-sendung-vom-28112017-av:5a1e6a6e8fce6d001871cc8e',
@@ -188,6 +188,9 @@ class BRMediathekIE(InfoExtractor):
'timestamp': 1511942766,
'upload_date': '20171129',
}
+ }, {
+ 'url': 'https://www.br.de/mediathek//video/av:61b0db581aed360007558c12',
+ 'only_matching': True,
}]
def _real_extract(self, url):