projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b311b0e
)
[dplayit] Relax video id regex (closes #13524)
author
Sergey M․
<dstftw@gmail.com>
Fri, 30 Jun 2017 14:55:45 +0000
(21:55 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 30 Jun 2017 14:55:45 +0000
(21:55 +0700)
youtube_dl/extractor/dplay.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dplay.py
b/youtube_dl/extractor/dplay.py
index 87c5dd63ec271a6ef8770c2233da295721f863ca..1a41760f8814ef69a10811ce858f434a8831fd73 100644
(file)
--- a/
youtube_dl/extractor/dplay.py
+++ b/
youtube_dl/extractor/dplay.py
@@
-184,7
+184,7
@@
class DPlayItIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
info_url = self._search_regex(
- r'url\s*
:
\s*["\']((?:https?:)?//[^/]+/playback/videoPlaybackInfo/\d+)',
+ r'url\s*
[:=]
\s*["\']((?:https?:)?//[^/]+/playback/videoPlaybackInfo/\d+)',
webpage, 'video id')
title = remove_end(self._og_search_title(webpage), ' | Dplay')