mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Instapaper
This commit is contained in:
parent
fb8ab757f5
commit
601f6e87db
@ -34,7 +34,7 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe):
|
||||
]
|
||||
|
||||
# Adds the title tag to the body of the recipe. Use this if your articles miss headings.
|
||||
add_title_tag = False;
|
||||
add_title_tag = False
|
||||
|
||||
def get_browser(self):
|
||||
br = BasicNewsRecipe.get_browser(self)
|
||||
@ -55,7 +55,7 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe):
|
||||
self.report_progress(0, 'Fetching feed'+' %s...'%(feedtitle if feedtitle else feedurl))
|
||||
articles = []
|
||||
soup = self.index_to_soup(feedurl)
|
||||
for item in soup.findAll('div', attrs={'class':'cornerControls'}):
|
||||
for item in soup.findAll('div', attrs={'class':'title_row'}):
|
||||
#description = self.tag_to_string(item.div)
|
||||
atag = item.a
|
||||
if atag and atag.has_key('href'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user