mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
661da9aef1
commit
6f6812ccd7
@ -55,10 +55,10 @@ 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':'title_row'}):
|
||||
#description = self.tag_to_string(item.div)
|
||||
for item in soup.findAll('div', attrs={'class':'js_title_row title_row'}):
|
||||
# description = self.tag_to_string(item.div)
|
||||
atag = item.a
|
||||
if atag and atag.has_key('href'):
|
||||
if atag and 'href' in atag:
|
||||
url = atag['href']
|
||||
articles.append({
|
||||
'url' :url
|
||||
|
Loading…
x
Reference in New Issue
Block a user