Fix Pagina Successiva in ricerca IMDB
This commit is contained in:
@@ -986,10 +986,11 @@ def listado_imdb(item):
|
|||||||
|
|
||||||
next_page = scrapertools.find_single_match(data, '<a href="([^"]+)"[^>]*>Next')
|
next_page = scrapertools.find_single_match(data, '<a href="([^"]+)"[^>]*>Next')
|
||||||
if next_page:
|
if next_page:
|
||||||
if not "title_type" in item.url:
|
next_page = 'http://www.imdb.com' + next_page
|
||||||
next_page = 'http://www.imdb.com' + next_page
|
# if not "title_type" in item.url:
|
||||||
else:
|
# next_page = 'http://www.imdb.com' + next_page
|
||||||
next_page = 'http://www.imdb.com/search/title' + next_page
|
# else:
|
||||||
|
# next_page = 'http://www.imdb.com/search/title' + next_page
|
||||||
itemlist.append(item.clone(title=config.get_localized_string(70065), url=next_page, ))
|
itemlist.append(item.clone(title=config.get_localized_string(70065), url=next_page, ))
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|||||||
Reference in New Issue
Block a user