fix parsing torrents descriptions
This commit is contained in:
parent
e7c6e6b4ab
commit
7344a22b0e
1 changed files with 2 additions and 1 deletions
|
|
@ -190,7 +190,8 @@ class TorrentsPage(BasePage):
|
|||
title_t = title_t[0]
|
||||
if title_t.find('strong') is not None:
|
||||
title_t = title_t.find('strong')
|
||||
title = title_t.text.strip()
|
||||
if title_t.text is not None:
|
||||
title = title_t.text.strip()
|
||||
|
||||
body_t = box.cssselect('div.body,div.desc')
|
||||
if body_t:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue