projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4d8fa
)
[footyroom] Improve
author
Sergey M․
<dstftw@gmail.com>
Sun, 12 Apr 2015 11:09:52 +0000
(17:09 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 12 Apr 2015 11:09:52 +0000
(17:09 +0600)
youtube_dl/extractor/footyroom.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/footyroom.py
b/youtube_dl/extractor/footyroom.py
index 70dfb06590f74d1e25d37b0a4d3e8f6dd8ba1273..385a99b13ac912e3a25691eb59aac21094d274b0 100644
(file)
--- a/
youtube_dl/extractor/footyroom.py
+++ b/
youtube_dl/extractor/footyroom.py
@@
-45,9
+45,8
@@
class FootyRoomIE(InfoExtractor):
playwire_url = self._search_regex(
r'data-config="([^"]+)"', payload,
'playwire url', default=None)
- if not playwire_url.startswith("http:"):
- playwire_url = "http:" + playwire_url
if playwire_url:
- entries.append(self.url_result(playwire_url, 'Playwire'))
+ entries.append(self.url_result(self._proto_relative_url(
+ playwire_url, 'http:'), 'Playwire'))
return self.playlist_result(entries, playlist_id, playlist_title)