mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 05:34:15 +01:00
Compare commits
5 Commits
03f52f298b
...
023c4ef305
Author | SHA1 | Date | |
---|---|---|---|
|
023c4ef305 | ||
|
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