Scrapy, a fast high-level web crawling & scraping framework for Python.
Go to file
Akshay Sharma de297a3a16
enable ANSI color (instead of ANSI color codes) in the Windows terminal #4393 (#4403)
* changed ie. -> i.e.(spelling error) on lines 667, 763 (issue scrapy#4332)

* updated all text files for issue #4332 (ie. -> i.e.)

* Apply ie. → i.e. in source comments

* ie → e.g.

* modified scrapy/utils/display.py to stop ANSI color sequences in the Windows terminal (issue #4393)

* modified scrapy/utils/display.py to stop ANSI color sequences in the Windows terminal (issue #4393)

* enabled virtual terminal processing (pr #4403)

* check for specific windows 10 version (pr #4403)

* fixing flake-8 test (pr #4403)

* added error handling for terminal info (pr #4403)

* corrected stderr (pr #4403)

* changed orientation, removed unwanted spaces (pr #4403)

* no need for style variable (pr #4403)

* fixing trailing whitespaces

* commenting windows check

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* small fixes

* Shifting _color_support_info() function

* enabled virtual terminal processing (pr #4403)

* check for specific windows 10 version (pr #4403)

* fixing flake-8 test (pr #4403)

* added error handling for terminal info (pr #4403)

* corrected stderr (pr #4403)

* changed orientation, removed unwanted spaces (pr #4403)

* no need for style variable (pr #4403)

* fixing trailing whitespaces

* commenting windows check

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* Update scrapy/utils/display.py

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

* small fixes

* Shifting _color_support_info() function

* error handling

* error handlingy

* raise ValueError

* added in-built function for version comparison

* recommit changes

* changed check -> parse

* version comparison -> parse_version

* added scrapy/utils/display.py in pytest.ini

* Trigger

* Add simple test for scrapy.utils.display._colorize

* Flake8: E501 for tests/test_utils_display.py

* assertEquals -> assertEqual

* Normal formatter for all platforms

* separate test for windows

* all curses under try block

* added global TestStr

* more test added

* small fix

* covering exceptions

* windows test failing

* Refactor output color handling

* Fix pprint test

* fix flake8

Co-authored-by: Adrián Chaves <adrian@chaves.io>
Co-authored-by: Eugenio Lacuesta <eugenio.lacuesta@gmail.com>
2020-07-20 17:23:38 +05:00
.github/ISSUE_TEMPLATE Fix case of GitHub. 2019-10-05 10:09:14 +10:00
artwork Fixed artwork/README formatting 2020-01-15 08:54:25 +04:00
docs Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest) (#4504) 2020-07-17 02:19:24 +05:00
extras edit zsh completion 2020-03-17 18:45:00 +03:00
scrapy enable ANSI color (instead of ANSI color codes) in the Windows terminal #4393 (#4403) 2020-07-20 17:23:38 +05:00
sep Fix a spelling error: ie. → i.e. (#4338) 2020-02-18 17:58:31 +01:00
tests enable ANSI color (instead of ANSI color codes) in the Windows terminal #4393 (#4403) 2020-07-20 17:23:38 +05:00
.bandit.yml Mark bandit’s 402 check as addressed by #4180 (#4181) 2019-12-05 14:48:31 +01:00
.bumpversion.cfg Bump version: 2.1.0 → 2.2.0 2020-06-24 12:27:39 +02:00
.coveragerc Remove deprecated xlib module 2019-09-13 14:32:05 -03:00
.gitignore Typing: Tox env, CI job 2020-06-18 13:56:07 -03:00
.readthedocs.yml Allow doc to be downloadable on readthedocs.org 2020-05-19 02:17:11 +02:00
.travis.yml Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest) (#4504) 2020-07-17 02:19:24 +05:00
AUTHORS added Nicolas Ramirez to AUTHORS 2013-03-14 12:44:39 -03:00
CODE_OF_CONDUCT.md Make punctuation consistent 2019-10-16 22:44:42 +02:00
CONTRIBUTING.md Be consistent with domain used for links to documentation website 2019-01-31 01:28:53 -03:00
INSTALL Be consistent with domain used for links to documentation website 2019-01-31 01:28:53 -03:00
LICENSE added oxford commas to LICENSE 2018-06-01 21:48:43 -03:00
MANIFEST.in Include additional files in sdists 2018-11-16 13:38:19 -05:00
NEWS added NEWS file pointing to docs/news.rst 2012-04-28 23:32:51 -03:00
README.rst Bump minimum Python version to 3.5.2 (#4615) 2020-06-11 14:53:59 +02:00
appveyor.yml Set the cloned directory as PYTHONPATH in appveyor.yml 2019-06-11 15:56:27 +02:00
azure-pipelines.yml Complete Azure Pipelines CI setup 2020-07-03 00:56:24 +02:00
codecov.yml codecov config: disable project check, tweak PR comments 2017-05-19 00:01:27 +05:00
conftest.py Merge branch 'master' into response_ip_address 2020-02-23 18:13:52 -03:00
pylintrc Update disabled Pylint checks 2020-05-07 14:15:37 +02:00
pytest.ini Cleanup import in selector module 2020-05-15 21:18:26 -03:00
setup.cfg Use the itemlaoders library (#4516) 2020-07-15 12:08:36 +02:00
setup.py Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest) (#4504) 2020-07-17 02:19:24 +05:00
tox.ini Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest) (#4504) 2020-07-17 02:19:24 +05:00

README.rst

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Scrapy

Overview

Scrapy is a fast high-level web crawling and web scraping framework, used to crawl websites and extract structured data from their pages. It can be used for a wide range of purposes, from data mining to monitoring and automated testing.

Check the Scrapy homepage at https://scrapy.org for more information, including a list of features.

Requirements

  • Python 3.5.2+
  • Works on Linux, Windows, macOS, BSD

Install

The quick way:

pip install scrapy

See the install section in the documentation at https://docs.scrapy.org/en/latest/intro/install.html for more details.

Documentation

Documentation is available online at https://docs.scrapy.org/ and in the docs directory.

Releases

You can check https://docs.scrapy.org/en/latest/news.html for the release notes.

Community (blog, twitter, mail list, IRC)

See https://scrapy.org/community/ for details.

Contributing

See https://docs.scrapy.org/en/master/contributing.html for details.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct (see https://github.com/scrapy/scrapy/blob/master/CODE_OF_CONDUCT.md).

By participating in this project you agree to abide by its terms. Please report unacceptable behavior to opensource@scrapinghub.com.

Companies using Scrapy

See https://scrapy.org/companies/ for a list.

Commercial Support

See https://scrapy.org/support/ for details.

</html>