Scrapy, a fast high-level web crawling & scraping framework for Python.
DOC extract_first/extract matches get/getall better
Mikhail Korobov638469f9efdc
diff --git a/docs/news.rst b/docs/news.rstindex bf469a350..4a236f1b9 100644--- a/docs/news.rst+++ b/docs/news.rst@@ -11,7 +11,7 @@ Highlights:* better Windows support;* Python 3.7 compatibility;* big documentation improvements, including a switch- from ``.extract()`` + ``.extract_first()`` API to ``.get()`` + ``.getall()``+ from ``.extract_first()`` + ``.extract()`` API to ``.get()`` + ``.getall()``API;* feed exports, FilePipeline and MediaPipeline improvements;* better extensibility: :signal:`item_error` and@@ -32,7 +32,7 @@ worth mentioning here. Scrapy now depends on parsel >= 1.5, andScrapy documentation is updated to follow recent ``parsel`` API conventions.Most visible change is that ``.get()`` and ``.getall()`` selector-methods are now preferred over ``.extract()`` and ``.extract_first()``.+methods are now preferred over ``.extract_first()`` and ``.extract()``.We feel that these new methods result in a more concise and readable code.See :ref:`old-extraction-api` for more details.