mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
tv4play: Improve warning message when using -A on clips
This commit is contained in:
parent
33246dec8a
commit
587754bb28
@ -109,8 +109,11 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
|||||||
items = []
|
items = []
|
||||||
|
|
||||||
parse = urlparse(self.url)
|
parse = urlparse(self.url)
|
||||||
if parse.path.startswith("/klipp") or parse.path.startswith("/video"):
|
if parse.path.startswith("/klipp"):
|
||||||
logging.warning("Use program page instead of the clip / video page.")
|
logging.warning("-A on clips is not supported.")
|
||||||
|
return episodes
|
||||||
|
if parse.path.startswith("/video"):
|
||||||
|
logging.warning("Use program page instead of the video one.")
|
||||||
return episodes
|
return episodes
|
||||||
|
|
||||||
token = self._login()
|
token = self._login()
|
||||||
|
Loading…
Reference in New Issue
Block a user