1
0
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:
Johan Andersson 2013-05-03 16:51:18 +02:00
parent 98ccd0573b
commit aede0ce993
2 changed files with 3 additions and 2 deletions

View File

@ -36,6 +36,7 @@ This script works for:
* svd.se
* sverigesradio.se
* svtplay.se
* sydsvenskan.se
* tv4.se
* tv3play.se
* tv4play.se

View File

@ -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: