Skip to content

Commit

Permalink
PRIMA: fix engine
Browse files Browse the repository at this point in the history
  • Loading branch information
pulpe committed Sep 28, 2013
1 parent dcdc4bd commit 37b3fa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engines/prima.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
__author__ = "Jakub Lužný"
__desc__ = "TV Prima Videoarchiv"
__url__ = r"https?://play\.iprima\.cz/.*"
__url__ = r"https?://play\.iprima\.cz/.*/.*"

import re,os.path,random,math,logging
import xml.etree.ElementTree as ElementTree
Expand Down Expand Up @@ -51,9 +51,9 @@ def download(self, quality, movie):

def download_rtmp(self, quality):

hq = re.findall( r"'hq_id':'(.+?)'", self.page)[0]
lq = re.findall( r"'lq_id':'(.+?)'", self.page)[0]
zoneGEO = re.findall( r"'zoneGEO':(.+?),", self.page)[0]
hq = re.findall( r'"hq_id":"(.+?)"', self.page)[0]
lq = re.findall( r'"lq_id":"(.+?)"', self.page)[0]
zoneGEO = re.findall( r'"zoneGEO":(.+?),', self.page)[0]

playpath = ""
if quality == "low":
Expand Down

0 comments on commit 37b3fa6

Please sign in to comment.