mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-26 21:25:39 +01:00
Compare commits
4 Commits
ace235c6c8
...
2383b26e1b
Author | SHA1 | Date | |
---|---|---|---|
|
2383b26e1b | ||
|
1f55f8cb3f | ||
|
7e10813ae3 | ||
|
a69c8c8ccc |
@ -114,6 +114,9 @@ class Svtplay(Service, MetadataThumbMixin):
|
||||
subfix = lang
|
||||
yield from subtitle_probe(copy.copy(self.config), i["url"], subfix=subfix, output=self.output)
|
||||
|
||||
if not janson["videoReferences"]:
|
||||
yield ServiceError("Media doesn't have any associated videos.")
|
||||
return
|
||||
drm = janson["rights"]["drmCopyProtection"]
|
||||
if not drm and "variants" in janson and "default" in janson["variants"]:
|
||||
if len(janson["videoReferences"]) == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user