mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[footyroom] Improve
This commit is contained in:
parent
9a4d8fae82
commit
504c1cedfe
|
@ -45,9 +45,8 @@ class FootyRoomIE(InfoExtractor):
|
||||||
playwire_url = self._search_regex(
|
playwire_url = self._search_regex(
|
||||||
r'data-config="([^"]+)"', payload,
|
r'data-config="([^"]+)"', payload,
|
||||||
'playwire url', default=None)
|
'playwire url', default=None)
|
||||||
if not playwire_url.startswith("http:"):
|
|
||||||
playwire_url = "http:" + playwire_url
|
|
||||||
if 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)
|
return self.playlist_result(entries, playlist_id, playlist_title)
|
||||||
|
|
Loading…
Reference in a new issue