mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 11:45:38 +01:00
Compare commits
6 Commits
03f52f298b
...
023c4ef305
Author | SHA1 | Date | |
---|---|---|---|
|
023c4ef305 | ||
|
2383b26e1b | ||
|
1f55f8cb3f | ||
|
7e10813ae3 | ||
|
a69c8c8ccc | ||
|
c81de1f693 |
@ -115,15 +115,13 @@ This script works for:
|
||||
|
||||
- aftonbladet.se
|
||||
- bambuser.com
|
||||
- comedycentral.se
|
||||
- di.se
|
||||
- discoveryplus.com
|
||||
- dn.se
|
||||
- dplay.se
|
||||
- dr.dk
|
||||
- efn.se
|
||||
- expressen.se
|
||||
- hbo.com
|
||||
- kanal9play.se
|
||||
- nickelodeon.nl
|
||||
- nickelodeon.no
|
||||
- nickelodeon.se
|
||||
@ -143,7 +141,6 @@ This script works for:
|
||||
- ur.se
|
||||
- urplay.se
|
||||
- vg.no
|
||||
- viagame.com
|
||||
|
||||
## License
|
||||
|
||||
|
@ -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