mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-09 18:04:26 +01:00
Fix #4539 (Apostrophes not showing up in NYT recipe)
This commit is contained in:
parent
2d72202929
commit
bd536ed790
1 changed files with 2 additions and 0 deletions
|
|
@ -48,7 +48,9 @@ def short_title(self):
|
|||
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…
Reference in a new issue