`` children:: For more details about relative XPaths see the `Location Paths`_ section in the XPath specification. -.. _Location Paths: http://www.w3.org/TR/xpath#location-paths +.. _Location Paths: https://www.w3.org/TR/xpath#location-paths Using EXSLT extensions ---------------------- @@ -439,7 +439,7 @@ you may want to take a look first at this `XPath tutorial`_. .. _`XPath tutorial`: http://www.zvon.org/comp/r/tut-XPath_1.html -.. _`this post from ScrapingHub's blog`: http://blog.scrapinghub.com/2014/07/17/xpath-tips-from-the-web-scraping-trenches/ +.. _`this post from ScrapingHub's blog`: https://blog.scrapinghub.com/2014/07/17/xpath-tips-from-the-web-scraping-trenches/ Using text nodes in a condition @@ -481,7 +481,7 @@ But using the ``.`` to mean the node, works:: >>> sel.xpath("//a[contains(., 'Next Page')]").extract() [u'Click here to go to the Next Page'] -.. _`XPath string function`: http://www.w3.org/TR/xpath/#section-String-Functions +.. _`XPath string function`: https://www.w3.org/TR/xpath/#section-String-Functions Beware of the difference between //node[1] and (//node)[1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 3bd0f9df5..e42dc6370 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -1202,6 +1202,6 @@ case to see how to enable and use them. .. settingslist:: -.. _Amazon web services: http://aws.amazon.com/ -.. _breadth-first order: http://en.wikipedia.org/wiki/Breadth-first_search -.. _depth-first order: http://en.wikipedia.org/wiki/Depth-first_search +.. _Amazon web services: https://aws.amazon.com/ +.. _breadth-first order: https://en.wikipedia.org/wiki/Breadth-first_search +.. _depth-first order: https://en.wikipedia.org/wiki/Depth-first_search diff --git a/docs/topics/shell.rst b/docs/topics/shell.rst index a6ca036d2..322c3ddfa 100644 --- a/docs/topics/shell.rst +++ b/docs/topics/shell.rst @@ -138,7 +138,7 @@ Example of shell session ======================== Here's an example of a typical shell session where we start by scraping the -http://scrapy.org page, and then proceed to scrape the http://reddit.com +http://scrapy.org page, and then proceed to scrape the https://reddit.com page. Finally, we modify the (Reddit) request method to POST and re-fetch it getting an error. We end the session by typing Ctrl-D (in Unix systems) or Ctrl-Z in Windows. diff --git a/docs/topics/signals.rst b/docs/topics/signals.rst index 5dd3b9ef5..410717f7d 100644 --- a/docs/topics/signals.rst +++ b/docs/topics/signals.rst @@ -22,7 +22,7 @@ Deferred signal handlers Some signals support returning `Twisted deferreds`_ from their handlers, see the :ref:`topics-signals-ref` below to know which ones. -.. _Twisted deferreds: http://twistedmatrix.com/documents/current/core/howto/defer.html +.. _Twisted deferreds: https://twistedmatrix.com/documents/current/core/howto/defer.html .. _topics-signals-ref: @@ -258,4 +258,4 @@ response_downloaded :param spider: the spider for which the response is intended :type spider: :class:`~scrapy.spiders.Spider` object -.. _Failure: http://twistedmatrix.com/documents/current/api/twisted.python.failure.Failure.html +.. _Failure: https://twistedmatrix.com/documents/current/api/twisted.python.failure.Failure.html diff --git a/docs/topics/spider-middleware.rst b/docs/topics/spider-middleware.rst index ced481c71..a38c1ab65 100644 --- a/docs/topics/spider-middleware.rst +++ b/docs/topics/spider-middleware.rst @@ -211,7 +211,7 @@ HttpErrorMiddleware According to the `HTTP standard`_, successful responses are those whose status codes are in the 200-300 range. -.. _HTTP standard: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html +.. _HTTP standard: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html If you still want to process response codes outside that range, you can specify which response codes the spider is able to handle using the @@ -238,7 +238,7 @@ responses, unless you really know what you're doing. For more information see: `HTTP Status Code Definitions`_. -.. _HTTP Status Code Definitions: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html +.. _HTTP Status Code Definitions: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html HttpErrorMiddleware settings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index b700ea0ef..0e473709a 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -735,5 +735,5 @@ Combine SitemapSpider with other sources of urls:: .. _Sitemaps: http://www.sitemaps.org .. _Sitemap index files: http://www.sitemaps.org/protocol.html#index .. _robots.txt: http://www.robotstxt.org/ -.. _TLD: http://en.wikipedia.org/wiki/Top-level_domain +.. _TLD: https://en.wikipedia.org/wiki/Top-level_domain .. _Scrapyd documentation: http://scrapyd.readthedocs.org/en/latest/ diff --git a/docs/topics/webservice.rst b/docs/topics/webservice.rst index a064acb16..2c4052c04 100644 --- a/docs/topics/webservice.rst +++ b/docs/topics/webservice.rst @@ -8,4 +8,4 @@ webservice has been moved into a separate project. It is hosted at: - https://github.com/scrapy/scrapy-jsonrpc + https://github.com/scrapy-plugins/scrapy-jsonrpc diff --git a/docs/versioning.rst b/docs/versioning.rst index 6ae9ce981..8e7908762 100644 --- a/docs/versioning.rst +++ b/docs/versioning.rst @@ -36,5 +36,5 @@ new methods or functionality but the existing methods should keep working the same way. -.. _odd-numbered versions for development releases: http://en.wikipedia.org/wiki/Software_versioning#Odd-numbered_versions_for_development_releases +.. _odd-numbered versions for development releases: https://en.wikipedia.org/wiki/Software_versioning#Odd-numbered_versions_for_development_releases