projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some regexes
[youtube-dl]
/
youtube_dl
/
extractor
/
videopremium.py
diff --git
a/youtube_dl/extractor/videopremium.py
b/youtube_dl/extractor/videopremium.py
index 5de8273c34aa61a6e1e79ce8b7d142ab9135d35d..cf690d7b0a669b67b84d2aedae992079040e7a64 100644
(file)
--- a/
youtube_dl/extractor/videopremium.py
+++ b/
youtube_dl/extractor/videopremium.py
@@
-26,7
+26,7
@@
class VideoPremiumIE(InfoExtractor):
webpage_url = 'http://videopremium.tv/' + video_id
webpage = self._download_webpage(webpage_url, video_id)
webpage_url = 'http://videopremium.tv/' + video_id
webpage = self._download_webpage(webpage_url, video_id)
- if re.match(r'^<html><head><script[^>]*>window.location\s*=', webpage):
+ if re.match(r'^<html><head><script[^>]*>window
\
.location\s*=', webpage):
# Download again, we need a cookie
webpage = self._download_webpage(
webpage_url, video_id,
# Download again, we need a cookie
webpage = self._download_webpage(
webpage_url, video_id,