mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
qbrick: this code is not valid anymore
This commit is contained in:
parent
7685944bdf
commit
0046d05987
@ -35,15 +35,6 @@ class Qbrick(Service, OpenGraphThumbMixin):
|
|||||||
log.error("Can't find video file")
|
log.error("Can't find video file")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
host = "http://vms.api.qbrick.com/rest/v3/getplayer/%s" % match.group(1)
|
host = "http://vms.api.qbrick.com/rest/v3/getplayer/%s" % match.group(1)
|
||||||
elif re.findall(r"dn.se", self.url):
|
|
||||||
data = self.get_urldata()
|
|
||||||
match = re.search(r"'([0-9A-F]{8})',", data)
|
|
||||||
if not match:
|
|
||||||
match = re.search(r"mediaId = '([0-9A-F]{8})';", data)
|
|
||||||
if not match:
|
|
||||||
log.error("Can't find video file")
|
|
||||||
sys.exit(2)
|
|
||||||
host = "http://vms.api.qbrick.com/rest/v3//getsingleplayer/%sDE1BA107?statusCode=xml" % match.group(1)
|
|
||||||
elif re.findall(r"svd.se", self.url):
|
elif re.findall(r"svd.se", self.url):
|
||||||
match = re.search(r'video url-([^"]*)\"', self.get_urldata())
|
match = re.search(r'video url-([^"]*)\"', self.get_urldata())
|
||||||
if not match:
|
if not match:
|
||||||
|
Loading…
Reference in New Issue
Block a user