projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[soundcloud] Simplify and add test (closes #14093)
[youtube-dl]
/
youtube_dl
/
extractor
/
karrierevideos.py
diff --git
a/youtube_dl/extractor/karrierevideos.py
b/youtube_dl/extractor/karrierevideos.py
index c05263e6165159320376939c252af7dea7aeadb2..f236a2f78e600d45c3f7dbd40de2f320f4cf277e 100644
(file)
--- a/
youtube_dl/extractor/karrierevideos.py
+++ b/
youtube_dl/extractor/karrierevideos.py
@@
-20,7
+20,7
@@
class KarriereVideosIE(InfoExtractor):
'ext': 'flv',
'title': 'AltenpflegerIn',
'description': 'md5:dbadd1259fde2159a9b28667cb664ae2',
'ext': 'flv',
'title': 'AltenpflegerIn',
'description': 'md5:dbadd1259fde2159a9b28667cb664ae2',
- 'thumbnail': 're:^http://.*\.png',
+ 'thumbnail':
r
're:^http://.*\.png',
},
'params': {
# rtmp download
},
'params': {
# rtmp download
@@
-34,7
+34,7
@@
class KarriereVideosIE(InfoExtractor):
'ext': 'flv',
'title': 'Väterkarenz und neue Chancen für Mütter - "Baby - was nun?"',
'description': 'md5:97092c6ad1fd7d38e9d6a5fdeb2bcc33',
'ext': 'flv',
'title': 'Väterkarenz und neue Chancen für Mütter - "Baby - was nun?"',
'description': 'md5:97092c6ad1fd7d38e9d6a5fdeb2bcc33',
- 'thumbnail': 're:^http://.*\.png',
+ 'thumbnail':
r
're:^http://.*\.png',
},
'params': {
# rtmp download
},
'params': {
# rtmp download
@@
-48,7
+48,7
@@
class KarriereVideosIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
title = (self._html_search_meta('title', webpage, default=None) or
webpage = self._download_webpage(url, video_id)
title = (self._html_search_meta('title', webpage, default=None) or
- self._search_regex(r'<h1 class="title">([^<]+)</h1>'))
+ self._search_regex(r'<h1 class="title">([^<]+)</h1>'
, webpage, 'video title'
))
video_id = self._search_regex(
r'/config/video/(.+?)\.xml', webpage, 'video id')
video_id = self._search_regex(
r'/config/video/(.+?)\.xml', webpage, 'video id')