mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 21:57:11 +01:00
Change mechanize link from sourceforge to github
This commit is contained in:
parent
476693c283
commit
d2d3f8b67f
2 changed files with 2 additions and 2 deletions
|
|
@ -259,7 +259,7 @@ The next interesting feature is::
|
|||
def get_browser(self):
|
||||
...
|
||||
|
||||
``needs_subscription = True`` tells calibre that this recipe needs a username and password in order to access the content. This causes, calibre to ask for a username and password whenever you try to use this recipe. The code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` actually does the login into the NYT website. Once logged in, calibre will use the same, logged in, browser instance to fetch all content. See `mechanize <http://wwwsearch.sourceforge.net/mechanize/>`_ to understand the code in ``get_browser``.
|
||||
``needs_subscription = True`` tells calibre that this recipe needs a username and password in order to access the content. This causes, calibre to ask for a username and password whenever you try to use this recipe. The code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` actually does the login into the NYT website. Once logged in, calibre will use the same, logged in, browser instance to fetch all content. See `mechanize <https://github.com/jjlee/mechanize>`_ to understand the code in ``get_browser``.
|
||||
|
||||
The next new feature is the
|
||||
:meth:`calibre.web.feeds.news.BasicNewsRecipe.parse_index` method. Its job is
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ def image_url_processor(cls, baseurl, url):
|
|||
def get_browser(self, *args, **kwargs):
|
||||
'''
|
||||
Return a browser instance used to fetch documents from the web. By default
|
||||
it returns a `mechanize <https://wwwsearch.sourceforge.net/mechanize/>`_
|
||||
it returns a `mechanize <https://github.com/jjlee/mechanize>`_
|
||||
browser instance that supports cookies, ignores robots.txt, handles
|
||||
refreshes and has a mozilla firefox user agent.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue