fix parsing duration
This commit is contained in:
parent
bae1675573
commit
9799912902
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class VideoPage(BasePage):
|
|||
|
||||
# youjizz HTML is crap, we must parse it with regexps
|
||||
data = lxml.html.tostring(self.document.getroot())
|
||||
m = re.search(r'<strong>.*?Runtime.*?</strong> (.+?)<br.*>', data)
|
||||
m = re.search(r'<strong>.*?Runtime.*?</strong> (.+?)</div>', data)
|
||||
if m:
|
||||
txt = m.group(1).strip()
|
||||
if txt == 'Unknown':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue