|
@@ -314,14 +314,15 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
314
|
314
|
return result
|
315
|
315
|
|
316
|
316
|
def get_streams2(self,url0):
|
317
|
|
- m = re.search("\[([\d,]+)]",url0)
|
|
317
|
+ m = re.search("\[([\d\w,]+)\]",url0)
|
318
|
318
|
if not m:
|
319
|
319
|
return [("?",url0)]
|
320
|
320
|
res = m.group(1)
|
321
|
321
|
streams=[]
|
322
|
322
|
for res in res.split(","):
|
323
|
323
|
if not res: continue
|
324
|
|
- url=re.sub("\[[\d,]+]",res,url0)
|
|
324
|
+ if res in ["1080p"]: continue #TODO fullhd only in PRO+ version
|
|
325
|
+ url=re.sub("\[[\d\w,]+\]",res,url0)
|
325
|
326
|
streams.append((res,url))
|
326
|
327
|
return streams
|
327
|
328
|
|