aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/videopremium.py
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2017-10-19 15:24:13 -0200
committerRogério Brito <rbrito@ime.usp.br>2017-10-19 15:24:13 -0200
commit4231113a7be907539052ce59df44e23c54d21d38 (patch)
tree60ac9873daf0428612155884c512f7934612bf78 /youtube_dl/extractor/videopremium.py
parentfd552b246272b2ccc3051ce4a112669cf19b81d8 (diff)
parent4eb7d8923b3bad26edab01df0fd2650b0563ea8b (diff)
downloadyoutube-dl-4231113a7be907539052ce59df44e23c54d21d38.zip
youtube-dl-4231113a7be907539052ce59df44e23c54d21d38.tar.gz
youtube-dl-4231113a7be907539052ce59df44e23c54d21d38.tar.bz2
Updated version 2017.10.15.1 from 'upstream/2017.10.15.1'
with Debian dir e04fc0593bd02862ee48ad1d1a4629d9f3e1df96
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 5de8273..cf690d7 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,