mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +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")
|
||||
sys.exit(2)
|
||||
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):
|
||||
match = re.search(r'video url-([^"]*)\"', self.get_urldata())
|
||||
if not match:
|
||||
|
Loading…
Reference in New Issue
Block a user