mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #4539 (Apostrophes not showing up in NYT recipe)
This commit is contained in:
parent
2d72202929
commit
bd536ed790
@ -48,7 +48,9 @@ class NYTimes(BasicNewsRecipe):
|
||||
return 'NY Times'
|
||||
|
||||
def parse_index(self):
|
||||
self.encoding = 'cp1252'
|
||||
soup = self.index_to_soup('http://www.nytimes.com/pages/todayspaper/index.html')
|
||||
self.encoding = None
|
||||
|
||||
def feed_title(div):
|
||||
return ''.join(div.findAll(text=True, recursive=False)).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user