Closed Flopsky closed 4 months ago
Added the remove_more_from_title utility function, to remove the word "More" wich is useless in the title of the article.
remove_more_from_title
From : 'The VergeMoreThe Epic question: how Google lost when Apple won'
To : 'The Verge: The Epic question: how Google lost when Apple won'
FWIW I solved this by changingtitle=article.findAll('div')[2].text to title=article.findAll('div')[2].find('a').text in line 285
title=article.findAll('div')[2].text
title=article.findAll('div')[2].find('a').text
Yes but the title of the journal can be important in the title.
Added the
remove_more_from_title
utility function, to remove the word "More" wich is useless in the title of the article.From : 'The VergeMoreThe Epic question: how Google lost when Apple won'
To : 'The Verge: The Epic question: how Google lost when Apple won'