projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/generic] Use compat_urllib_parse_unquote for unquoting video_id and title...
[youtube-dl]
/
youtube_dl
/
extractor
/
srmediathek.py
diff --git
a/youtube_dl/extractor/srmediathek.py
b/youtube_dl/extractor/srmediathek.py
index d92d14d655e1a9ee07a5370f0d4ba15b6b65e648..5d583c720bff22bee0b5af55699a378e3a5267ea 100644
(file)
--- a/
youtube_dl/extractor/srmediathek.py
+++ b/
youtube_dl/extractor/srmediathek.py
@@
-8,7
+8,7
@@
from ..utils import js_to_json
class SRMediathekIE(InfoExtractor):
class SRMediathekIE(InfoExtractor):
- IE_DESC = 'S
üddeut
scher Rundfunk'
+ IE_DESC = 'S
aarländi
scher Rundfunk'
_VALID_URL = r'https?://sr-mediathek\.sr-online\.de/index\.php\?.*?&id=(?P<id>[0-9]+)'
_TEST = {
_VALID_URL = r'https?://sr-mediathek\.sr-online\.de/index\.php\?.*?&id=(?P<id>[0-9]+)'
_TEST = {
@@
-26,9
+26,9
@@
class SRMediathekIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
- urls = json.loads(js_to_json(self._search_regex(
+
m
urls = json.loads(js_to_json(self._search_regex(
r'var mediaURLs\s*=\s*(.*?);\n', webpage, 'video URLs')))
r'var mediaURLs\s*=\s*(.*?);\n', webpage, 'video URLs')))
- formats = [{'url':
url} for url in
urls]
+ formats = [{'url':
murl} for murl in m
urls]
self._sort_formats(formats)
title = json.loads(js_to_json(self._search_regex(
self._sort_formats(formats)
title = json.loads(js_to_json(self._search_regex(