mirror of https://github.com/streamlink/streamlink
Feature/france.tv sport (#1700)
* Fix sport.francetvinfo.fr stream URL extraction * Modify conditionnal statement to keep token related logic together (as suggested by @beardypig)
This commit is contained in:
parent
1d1f262d7d
commit
4ba7f84f7d
|
@ -166,7 +166,9 @@ class Pluzz(Plugin):
|
|||
if '.mpd' in video_url:
|
||||
continue
|
||||
|
||||
if '.f4m' in video_url or 'france.tv' in self.url:
|
||||
if ('.f4m' in video_url or
|
||||
'france.tv' in self.url or
|
||||
'sport.francetvinfo.fr' in self.url):
|
||||
res = http.get(self.TOKEN_URL.format(video_url))
|
||||
video_url = res.text
|
||||
|
||||
|
|
Loading…
Reference in New Issue