mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:35:18 +02:00
Fix #1051586 (Obsolete links in recipe documentation)
This commit is contained in:
parent
ac59059083
commit
e0cffc5311
1 changed files with 2 additions and 2 deletions
|
|
@ -453,11 +453,11 @@ def get_article_url(self, article):
|
|||
Override in a subclass to customize extraction of the :term:`URL` that points
|
||||
to the content for each article. Return the
|
||||
article URL. It is called with `article`, an object representing a parsed article
|
||||
from a feed. See `feedparser <http://www.feedparser.org/docs/>`_.
|
||||
from a feed. See `feedparser <http://packages.python.org/feedparser/>`_.
|
||||
By default it looks for the original link (for feeds syndicated via a
|
||||
service like feedburner or pheedo) and if found,
|
||||
returns that or else returns
|
||||
`article.link <http://www.feedparser.org/docs/reference-entry-link.html>`_.
|
||||
`article.link <http://packages.python.org/feedparser/reference-entry-link.html>`_.
|
||||
'''
|
||||
for key in article.keys():
|
||||
if key.endswith('_origlink'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue