Jose Galdos
13181ba788
Improve http status all on http error middleware
2020-08-06 20:43:16 -05:00
Mikhail Korobov
ce0c25fc85
Merge pull request #4690 from elacuesta/typing-setup-remove-monkeypatches
...
Remove monkeypatches module from mypy section in setup.cfg
2020-07-23 17:56:08 +05:00
Eugenio Lacuesta
8fae3d5bb7
Remove monkeypatches module from mypy section in setup.cfg
2020-07-22 16:08:35 -03:00
Andrey Rahmatullin
f3372a3753
Merge pull request #4254 from elacuesta/spider.parse
...
Change Scraper API to call internal `_parse` method
2020-07-21 17:37:54 +05:00
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
Artur Shellunts
62a4ede5e9
Remove deprecated classes BaseSgmlLinkExtractor, RegexLinkExtractor and SgmlLinkExtractor ( #4356 )
2020-07-17 12:40:04 +02:00
Adrián Chaves
d29bec60d7
Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest) ( #4504 )
...
* Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest)
* Log a detailed error message to discover why MockServer is not working
* Go for all lines!
* Disable tests based on mitmproxy while running on PyPy
* Fix test_get_func_args for PyPy 3.6+
* Make testPayloadDefaultCiphers work regardless of OpenSSL default ciphers
* Crossing fingers…
* Rename: testPayloadDefaultCiphers → testPayloadDisabledCipher
* Test the PyPy version currently documented as the minimum required version
* Fix the PYPY_VERSION tag
* Update the documentation about supported PyPy versions
* Also test the latest 3.5 Python version with PyPy
* Fix the PYPY_VERSION value for the latest 3.5 version
* Use pinned dependencies for asyncio and PyPy tests against oldest supported Python versions
* Fix PyPy installation for the pypy3-pinned Tox environment
* Try installing Cython
* Maybe PyPy requires lxml 3.6.0?
* install.rst: minor clarification
* lxml 4.0.0 is required on PyPy
* Require setuptools 18.5+
* Revert "Require setuptools 18.5+"
This reverts commit 017ec33ac2 .
* Maintain lxml as a dependency if setuptools < 18.5 is used
2020-07-17 02:19:24 +05:00
Mikhail Korobov
9a74a71c63
Merge pull request #4682 from noviluni/remove_python2_reminiscence
...
remove python 2 reminiscence in cookies
2020-07-16 23:58:58 +05:00
Marc Hernández
b97a39fda0
deprecate retry_on_eintr ( #4683 )
2020-07-16 17:38:22 +02:00
Mikhail Korobov
07470e1a3c
Merge pull request #3608 from ejulio/feat-685
...
[MRG+1] Fix for #685 Add Google Cloud Storage Feed Export
2020-07-16 18:11:19 +05:00
Mikhail Korobov
0f2f1acf04
Merge pull request #4458 from scrapy/azure-pipelines
...
Set up CI with Azure Pipelines
2020-07-16 18:09:31 +05:00
Marc
0e0d1ad643
remove python 2 reminiscence in cookies
2020-07-16 14:25:46 +02:00
Júlio César Batista
38496a00b7
Use the itemlaoders library ( #4516 )
2020-07-15 12:08:36 +02:00
Andrey Rahmatullin
eb1bc74417
Merge pull request #4674 from ashellunts/delete_deprecated_htmlparserlinkextractor
...
Remove deprecated class HtmlParserLinkExtractor
2020-07-15 12:51:42 +05:00
Artur Shellunts
ed5247ca4c
Remove htmlparser.py from tests/ignore.txt
2020-07-14 18:06:11 +02:00
Adrián Chaves
6e119bd3e3
Merge branch 'master' into azure-pipelines
2020-07-14 11:26:19 +02:00
Adrián Chaves
53c323b19d
_is_path → _is_filesystem_path
2020-07-13 15:29:30 +02:00
Adrián Chaves
d54c4496ee
Refactor guess_scheme
2020-07-13 14:37:08 +02:00
Andrey Rahmatullin
0ebba175ea
Merge pull request #4666 from Gallaecio/execution-access
...
Fix permission handling on project generation from template files
2020-07-13 16:01:06 +05:00
Andrey Rahmatullin
b6f8693db9
Merge pull request #4673 from elacuesta/remove-backslash
...
Remove backslash
2020-07-13 11:14:00 +05:00
Aditya Kumar
3f7e8635f4
Allow the parse command to write data to a file ( #4377 )
2020-07-11 08:48:24 +02:00
Artur Shellunts
a6a5fa91da
Remove deprecated class HtmlParserLinkExtractor
...
Issue #4356
2020-07-10 23:10:49 +02:00
Eugenio Lacuesta
9aea1f0961
Remove backslash (tests)
2020-07-09 11:04:46 -03:00
Eugenio Lacuesta
9e99be982a
Remove backslash
2020-07-09 09:51:28 -03:00
Eugenio Lacuesta
2be2bdd2df
Merge remote-tracking branch 'upstream/master' into spider.parse
2020-07-08 14:00:54 -03:00
Adrián Chaves
7e38615703
Remove unused import
2020-07-07 15:30:19 +02:00
Adrián Chaves
ca77ca1f75
Generate read-only files on the fly
2020-07-07 14:44:03 +02:00
Adrián Chaves
e1450799ce
Remove debug test case variable
2020-07-07 14:11:37 +02:00
Adrián Chaves
a3afff4a0e
Fix style issue
2020-07-07 14:11:02 +02:00
Adrián Chaves
79b4dfc53e
Fix permission handling on project generation from template files
2020-07-07 14:07:04 +02:00
Adrián Chaves
17aec5944c
Update tests/CrawlerRunner/ip_address.py
...
Co-authored-by: Eugenio Lacuesta <1731933+elacuesta@users.noreply.github.com>
2020-07-06 10:47:25 +02:00
Adrián Chaves
ec06cf79a6
Update tests/CrawlerRunner/ip_address.py
...
Co-authored-by: Eugenio Lacuesta <1731933+elacuesta@users.noreply.github.com>
2020-07-06 10:47:11 +02:00
Adrián Chaves
eb93774256
TrackrefTestCase.test_get_oldest: protect from lack of precision
2020-07-03 01:41:47 +02:00
Adrián Chaves
3199048520
Complete Azure Pipelines CI setup
2020-07-03 00:56:24 +02:00
Adrián Chaves
6e58da1dcd
Merge branch 'master' into azure-pipelines
2020-07-02 17:49:42 +02:00
Mikhail Korobov
56a6d22352
Merge pull request #4653 from scrapy/openssl-man-update
...
Update the OpenSSL cipher list format link
2020-07-01 23:28:52 +05:00
Andrey Rahmatullin
af55d23167
Update the OpenSSL cipher list format link
...
OpenSSL `ciphers(1)` is now almost empty: https://www.openssl.org/docs/manmaster/man1/ciphers.html
Alternative would be linking to 1.1.1 docs specifically.
2020-07-01 19:46:54 +05:00
Andrey Rahmatullin
0379df8608
Merge pull request #4652 from elacuesta/docs-loaders-dataclass
...
Docs: Simplify dataclass example in item loader page
2020-07-01 17:35:33 +05:00
Eugenio Lacuesta
5b88c522ac
Simplify dataclass example in item loader docs
2020-06-30 12:18:21 -03:00
Aditya Kumar
e46b47c365
Renew the localhost certificate for tests ( #4650 )
...
Validity
Not Before: Jun 28 12:54:15 2020 GMT
Not After : Jun 28 12:54:15 2021 GMT
Subject: C = IE, O = Scrapy, CN = localhost
2020-06-29 15:05:13 +02:00
Marc Hernández
464f24f8c1
Add --data-raw to utils.curl and fix missing method with data ( #4612 )
2020-06-29 14:20:29 +02:00
Mikhail Korobov
0c8d8c5e85
Merge pull request #4645 from Lukas0907/fix-starturlsspider
...
Spider constructor expects name as argument, not start_urls.
2020-06-25 18:36:43 +05:00
Adrián Chaves
9f60481360
Bump version: 2.1.0 → 2.2.0
2020-06-24 12:27:39 +02:00
Adrián Chaves
6f4c964aa4
Cover Scrapy 2.2.0 in the release notes ( #4630 )
2020-06-24 12:26:38 +02:00
Lukas Anzinger
3672f5f988
Spider constructor expects name as argument, not start_urls.
...
Fixes #4644
2020-06-23 14:56:12 +02:00
Andrey Rahmatullin
536643efde
Merge pull request #4629 from StasDeep/fix/duplicated-feed-logs
...
Fix duplicated feed logs
2020-06-23 15:33:48 +05:00
Andrey Rahmatullin
4bee73cfa7
Merge pull request #4637 from elacuesta/typing
...
Typing: Tox env, CI job
2020-06-23 15:31:37 +05:00
Andrey Rahmatullin
374d996093
Merge pull request #4642 from elacuesta/docs-loaders-dataclass
...
Docs: add note about dataclass items and loaders
2020-06-23 15:30:48 +05:00
Adrián Chaves
cfd039aeb6
Remove a duplicate GCS_PROJECT_ID reference target
2020-06-22 19:28:33 +02:00
Eugenio Lacuesta
73b6ce8cb5
Update docs about dataclass items and loaders
2020-06-22 14:13:37 -03:00