newspaper4k
newspaper4k copied to clipboard
Adjustments to extract full text of an article from The Atlantic.
Issue by EdwardBetts
Mon Feb 12 14:56:48 2018
Originally opened as https://github.com/codelucas/newspaper/pull/518
This is my test case: https://www.theatlantic.com/politics/archive/2018/02/pageantry-military-parades/552953/
The article appears in three sections with adverts between them. The code was picking just the first section. These three changes mean that the full article text is selected.
EdwardBetts included the following code: https://github.com/codelucas/newspaper/pull/518/commits