projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e89d7e3
)
[tagesschau] add support for Bericht aus Berlin videos
author
Roland Hieber
<rohieb@rohieb.name>
Sun, 19 Jul 2015 02:27:58 +0000
(
04:27
+0200)
committer
Roland Hieber
<rohieb@rohieb.name>
Sun, 19 Jul 2015 02:28:00 +0000
(
04:28
+0200)
youtube_dl/extractor/tagesschau.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tagesschau.py
b/youtube_dl/extractor/tagesschau.py
index 2a2aafca063092a29a65da2961ed787d7df18fec..682f8df8f6d1f701af14d9009a63cab822c7ddd6 100644
(file)
--- a/
youtube_dl/extractor/tagesschau.py
+++ b/
youtube_dl/extractor/tagesschau.py
@@
-8,7
+8,7
@@
from ..utils import parse_filesize, ExtractorError
class TagesschauIE(InfoExtractor):
class TagesschauIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?tagesschau\.de/multimedia/(?:sendung/(ts|tsg|tt|nm
)|video/video|tsvorzwanzig)(?P<id>-?[0-9]+)
\.html'
+ _VALID_URL = r'https?://(?:www\.)?tagesschau\.de/multimedia/(?:sendung/(ts|tsg|tt|nm
|bab/bab)|video/video|tsvorzwanzig)(?P<id>-?[0-9]+)(?:~[-_a-zA-Z0-9]*)?
\.html'
_TESTS = [{
'url': 'http://www.tagesschau.de/multimedia/video/video1399128.html',
_TESTS = [{
'url': 'http://www.tagesschau.de/multimedia/video/video1399128.html',
@@
-70,6
+70,16
@@
class TagesschauIE(InfoExtractor):
'title': 'Sendung: tagesschau vor 20 Jahren \t14.07.2015 22:45 Uhr',
'thumbnail': 're:^http:.*\.jpg$',
}
'title': 'Sendung: tagesschau vor 20 Jahren \t14.07.2015 22:45 Uhr',
'thumbnail': 're:^http:.*\.jpg$',
}
+ }, {
+ 'url': 'http://www.tagesschau.de/multimedia/sendung/bab/bab-3299~_bab-sendung-209.html',
+ 'md5': '42e3757018d9908581481a80cc1806da',
+ 'info_dict': {
+ 'id': '3299',
+ 'ext': 'mp4',
+ 'description': '',
+ 'title': 'Nach dem Referendum: SchaltgesprÃĪch nach Athen',
+ 'thumbnail': 're:^http:.*\.jpg$',
+ }
}]
_FORMATS = {
}]
_FORMATS = {