projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2d967
)
[wimp] Improve video URL regex
author
Sergey M․
<dstftw@gmail.com>
Mon, 7 Dec 2015 16:18:00 +0000
(22:18 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 7 Dec 2015 16:18:00 +0000
(22:18 +0600)
youtube_dl/extractor/wimp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/wimp.py
b/youtube_dl/extractor/wimp.py
index 022a3d1b578420a54be5ba2647d1ec8aed464018..041ff6c555123d44c97bc63810d2aa7903ec069e 100644
(file)
--- a/
youtube_dl/extractor/wimp.py
+++ b/
youtube_dl/extractor/wimp.py
@@
-42,7
+42,7
@@
class WimpIE(InfoExtractor):
}
video_url = self._search_regex(
- r'<video[^>]+>\s*<source
src=(["\'])(?P<url>.+?)\1',
+ r'<video[^>]+>\s*<source
[^>]+
src=(["\'])(?P<url>.+?)\1',
webpage, 'video URL', group='url')
return {