projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2dbc54
)
[bandcamp] Prepend download URL with scheme when necessary (Closes #7077)
author
Sergey M․
<dstftw@gmail.com>
Tue, 6 Oct 2015 16:58:18 +0000
(22:58 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 6 Oct 2015 16:58:18 +0000
(22:58 +0600)
youtube_dl/extractor/bandcamp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bandcamp.py
b/youtube_dl/extractor/bandcamp.py
index 505877b773d45b36be31d8dea8a6a1766d72d4ca..a27f3e7488add9836ee7724b67195d1a4541de4b 100644
(file)
--- a/
youtube_dl/extractor/bandcamp.py
+++ b/
youtube_dl/extractor/bandcamp.py
@@
-93,8
+93,8
@@
class BandcampIE(InfoExtractor):
final_url_webpage = self._download_webpage(request_url, video_id, 'Requesting download url')
# If we could correctly generate the .rand field the url would be
# in the "download_url" key
- final_url = self._search_regex(
- r'"retry_url":"(.
*?)"', final_url_webpage, 'final video URL
')
+ final_url = self._
proto_relative_url(self._
search_regex(
+ r'"retry_url":"(.
+?)"', final_url_webpage, 'final video URL'), 'http:
')
return {
'id': video_id,