mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 01:53:37 +02:00
...
This commit is contained in:
parent
d5d8ec6a9c
commit
9a7f625956
1 changed files with 2 additions and 2 deletions
|
|
@ -59,13 +59,13 @@ def parse_index(self):
|
|||
,'url' :url
|
||||
,'description':description
|
||||
})
|
||||
totalfeeds.append(('Articles',mfeed))
|
||||
totalfeeds.append(('Articles', mfeed))
|
||||
return totalfeeds
|
||||
|
||||
def get_cover_url(self):
|
||||
cover_url = None
|
||||
soup = self.index_to_soup(self.index)
|
||||
cover_item = soup.find('span',attrs={'class':'cover'})
|
||||
cover_item = soup.find('span', attrs={'class':'cover'})
|
||||
if cover_item:
|
||||
cover_url = cover_item.img['src']
|
||||
return cover_url
|
||||
|
|
|
|||
Loading…
Reference in a new issue