mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
another minor fix to remove stray header text for "complete coverage" of topics
This commit is contained in:
parent
aea3a5b002
commit
6bc6e7c79f
@ -668,7 +668,7 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
#remove "Related content" bar
|
#remove "Related content" bar
|
||||||
runAroundsFound = soup.findAll('div',{'class':['articleInline runaroundLeft','articleInline doubleRule runaroundLeft','articleInline runaroundLeft firstArticleInline','articleInline runaroundLeft ']})
|
runAroundsFound = soup.findAll('div',{'class':['articleInline runaroundLeft','articleInline doubleRule runaroundLeft','articleInline runaroundLeft firstArticleInline','articleInline runaroundLeft ','articleInline runaroundLeft lastArticleInline']})
|
||||||
if runAroundsFound:
|
if runAroundsFound:
|
||||||
for runAround in runAroundsFound:
|
for runAround in runAroundsFound:
|
||||||
#find all section headers
|
#find all section headers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user