ignore - descriptions, fixes #1047
This commit is contained in:
parent
1935b76b46
commit
102365eb8e
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class Imdb(SiteParser):
|
||||||
'title': cleanup_title(c[1]),
|
'title': cleanup_title(c[1]),
|
||||||
}
|
}
|
||||||
description = c[2].split('<br />')
|
description = c[2].split('<br />')
|
||||||
if len(description) == 2:
|
if len(description) == 2 and description[-1].strip() != '-':
|
||||||
r['description'] = description[-1].strip()
|
r['description'] = description[-1].strip()
|
||||||
return r
|
return r
|
||||||
cc[unicode(rel)] = map(get_conn, re.compile('<a href="/title/tt(\d{7})/">(.*?)</a>(.*?)<\/div', re.DOTALL).findall(data))
|
cc[unicode(rel)] = map(get_conn, re.compile('<a href="/title/tt(\d{7})/">(.*?)</a>(.*?)<\/div', re.DOTALL).findall(data))
|
||||||
|
|
Loading…
Reference in a new issue