mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +01:00
Qbrick: support for sydsvenskan.se
This commit is contained in:
parent
98ccd0573b
commit
aede0ce993
@ -36,6 +36,7 @@ This script works for:
|
||||
* svd.se
|
||||
* sverigesradio.se
|
||||
* svtplay.se
|
||||
* sydsvenskan.se
|
||||
* tv4.se
|
||||
* tv3play.se
|
||||
* tv4play.se
|
||||
|
@ -12,10 +12,10 @@ from svtplay_dl.fetcher.rtmp import download_rtmp
|
||||
|
||||
class Qbrick(Service):
|
||||
def handle(self, url):
|
||||
return ("dn.se" in url) or ("di.se" in url) or ("svd.se" in url)
|
||||
return ("dn.se" in url) or ("di.se" in url) or ("svd.se" in url) or ("sydsvenskan.se" in url)
|
||||
|
||||
def get(self, options, url):
|
||||
if re.findall("dn.se", url):
|
||||
if re.findall("(dn.se|sydsvenskan.se)", url):
|
||||
data = get_http_data(url)
|
||||
match = re.search("data-qbrick-mcid=\"([0-9A-F]+)\"", data)
|
||||
if not match:
|
||||
|
Loading…
Reference in New Issue
Block a user