diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-12 17:09:52 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-12 17:09:52 +0600 |
commit | 504c1cedfeb1562b089fa83ca258966e22acc773 (patch) | |
tree | 8a7ef13049847fa8599acbe94c8939890c0ed2f1 | |
parent | 9a4d8fae82f10afe8b2d0611f2f054af60dc7acc (diff) |
[footyroom] Improve
-rw-r--r-- | youtube_dl/extractor/footyroom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/footyroom.py b/youtube_dl/extractor/footyroom.py index 70dfb0659..385a99b13 100644 --- 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) |