aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/gorillavid.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-06 07:23:53 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-06 07:23:53 +0600
commite213c98df179270a33b67ef64fa53a73f93ab4c9 (patch)
treecbeba650b57b09e3d7e8f9db5ba6f2d4642eea86 /youtube_dl/extractor/gorillavid.py
parent1639282434c77f4de005fb0a6b81a49425e64d08 (diff)
[gorillavid] Build correct URL
Diffstat (limited to 'youtube_dl/extractor/gorillavid.py')
-rw-r--r--youtube_dl/extractor/gorillavid.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gorillavid.py b/youtube_dl/extractor/gorillavid.py
index f006f0cb1..6226b90c8 100644
--- a/youtube_dl/extractor/gorillavid.py
+++ b/youtube_dl/extractor/gorillavid.py
@@ -73,7 +73,8 @@ class GorillaVidIE(InfoExtractor):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
- webpage = self._download_webpage('http://%s/%s' % (mobj.group('host'), video_id), video_id)
+ url = 'http://%s/%s' % (mobj.group('host'), video_id)
+ webpage = self._download_webpage(url, video_id)
if re.search(self._FILE_NOT_FOUND_REGEX, webpage) is not None:
raise ExtractorError('Video %s does not exist' % video_id, expected=True)