projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1639282
)
[gorillavid] Build correct URL
author
Sergey M․
<dstftw@gmail.com>
Sun, 6 Sep 2015 01:23:53 +0000
(07:23 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 6 Sep 2015 01:23:53 +0000
(07:23 +0600)
youtube_dl/extractor/gorillavid.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gorillavid.py
b/youtube_dl/extractor/gorillavid.py
index f006f0cb105dc9d7b0c1f495dbcd4c840597858a..6226b90c837b4291c7af8c901a29d534d8d2eadd 100644
(file)
--- 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)