aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/videopremium.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/videopremium.py')
-rw-r--r--youtube_dl/extractor/videopremium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/videopremium.py b/youtube_dl/extractor/videopremium.py
index 5de8273c3..cf690d7b0 100644
--- 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)
- 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,