mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Change mechanize link from sourceforge to github
This commit is contained in:
parent
476693c283
commit
d2d3f8b67f
@ -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 @@ class BasicNewsRecipe(Recipe):
|
||||
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…
x
Reference in New Issue
Block a user