Andrey Rakhmatullin
eeb199adda
Fix flake8 issues in previously ignored files.
2022-10-10 11:10:59 +06:00
Andrey Rakhmatullin
fa58ab21e4
Replace _getargspec_py23() with inspect.getfullargspec().
2022-10-06 20:59:06 +06:00
Mikhail Korobov
019e1c3c5e
Merge pull request #5645 from gliptak/version1
...
Correct distutils deprecation warning
2022-10-04 11:12:04 +05:00
Eugenio Lacuesta
da8f915091
Adapt for asyng generator callbacks
2022-10-02 17:37:10 -03:00
Eugenio Lacuesta
80194f1c03
CrawlSpider: add support for async def callbacks
2022-10-02 15:22:06 -03:00
Gábor Lipták
116d9a9748
Correct distutils deprecation warning
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-09-30 22:58:17 -04:00
Gábor Lipták
79a4bc3da0
Cleanup METHOD_SSLv3
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-09-25 17:01:43 -04:00
Mohammadtaher Abbasi
e411ea94eb
BOM should take precedence over Content-Type header when detecting the encoding closes #5601
2022-08-28 20:28:13 +04:30
Andrey Rakhmatullin
c7b90c6e1e
Extract more common code.
2022-07-28 13:44:36 +05:00
Mikhail Korobov
4dde2f2c36
Merge branch 'master' into asyncio-parse-fixes
2022-07-27 09:32:54 +05:00
Adrián Chaves
00ccb02f1f
Merge remote-tracking branch 'upstream/2.6'
2022-07-25 14:13:22 +02:00
Adrián Chaves
aecbccbaa5
Bump version: 2.6.1 → 2.6.2
2022-07-25 13:33:23 +02:00
Adrián Chaves
af7dd16d8d
Merge pull request from GHSA-9x8m-2xpf-crp3
...
* Enforce matching proxy request meta and Proxy-Authorization header
* Cover proxy credential security fix in the release notes
* Remove extra empty line
* Reword the security issue description
* Address scenario where Proxy-Authorization is unexpectedly removed by a prior middleware
* Set the release date of Scrapy 2.6.2 and 1.8.3
2022-07-25 13:15:17 +02:00
Andrey Rahmatullin
a0681fb811
Merge branch 'master' into asyncio-parse-asyncgen-proper-rebased
2022-07-22 18:30:38 +05:00
Mikhail Korobov
d78f505f3d
Merge pull request #5450 from kinoute/master
...
fixed detection of extensions like ".tar.gz" in URL
2022-07-20 01:06:11 +05:00
Laerte Pereira
fe08a119d9
chore: import only used function
2022-06-30 10:46:00 -03:00
Laerte Pereira
c4c816624f
chore: Deprecate the `scrapy.downloadermiddlewares.decompression` module
2022-06-30 10:42:01 -03:00
Mikhail Korobov
b51b52ff37
Merge pull request #5526 from mtabbasi/headers-multiple-values
...
Merge values of multiple headers with same name
2022-06-27 23:03:01 +05:00
Mikhail Korobov
500dae82e2
Merge pull request #3696 from Gallaecio/allow-customizing-export-column-names
...
Allow customizing export column names
2022-06-27 00:26:05 +05:00
Vardhaman
387326fad4
MAINT: Updated f-string format
...
Updated the code with the f-string method for better and cleaner understanding.
2022-06-23 14:40:49 +05:30
Adrián Chaves
4ef71829b2
If TWISTED_REACTOR is None, reuse any pre-installed reactor ( #5528 )
2022-06-17 10:37:27 +02:00
Michel Ace
6e878490e8
Support and prefer the .jsonl file extension ( #4848 )
2022-06-17 08:37:14 +02:00
Adrián Chaves
3e994bda45
Update for Python 3.7+
2022-06-16 20:53:14 +02:00
Kromitvs
9e265a2c1f
Mind body to choose response class in cache, FTP and HTTP/1.0 ( #4873 )
2022-06-16 20:52:19 +02:00
Adrián Chaves
e8503217fb
Merge remote-tracking branch 'upstream/master' into allow-customizing-export-column-names
2022-06-16 20:19:52 +02:00
Mohammadtaher Abbasi
a135d6caf0
Move Mapping import line up
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2022-06-13 15:24:30 +04:30
Mohammadtaher Abbasi
6a0bcf97cc
Merge values of multiple headers with same name ( #5515 )
2022-06-11 23:52:21 +04:30
Laerte Pereira
407562b38b
Drop Python 3.6 support ( #5514 )
...
* chore: Drop Python 3.6 support
* Attend PR comments
* Tweak versions
* Update dependencies version
* fix: Ubuntu workflow
* fix windows workflow
* chore: Remove comment
* update `install_requires` dependencies versions
* move lxml to main pinned requirements
* Attend code-review comments
* remove non-pinned 3.7 from windows workflow
* simplify condition
* lint
* remove paragraph
* refactor
* remove leftover
2022-06-09 00:25:03 -03:00
Adrián Chaves
c5627af15b
Centralize request fingerprints ( #4524 )
...
Co-authored-by: Mikhail Korobov <kmike84@gmail.com>
2022-06-07 18:44:54 +02:00
Mikhail Korobov
517cbc8d71
Merge pull request #5508 from mtabbasi/thumb_path-access-item
...
pass on item to thumb_path function as additional argument
2022-06-05 03:42:45 +05:00
Mikhail Korobov
99cddecd28
Merge pull request #5497 from AngelikiBoura/issue_3264/command_parser_unhandled_error
...
Issue #3264 , fix error handling when spider is not matched
2022-05-28 13:26:23 +05:00
Mohammadtaher Abbasi
896f16f2de
make thumb_path method backwards compatible
2022-05-25 23:59:25 +04:30
Mohammadtaher Abbasi
8633190012
pass on item to thumb_path function as additional argument resolves #5504
2022-05-24 14:51:17 +04:30
Maxime Nannan
078622cfb0
Fix file expiration issue with GCS ( #5318 )
2022-05-20 08:30:06 +02:00
Andreas Tziortziortziopoulos
83c1939281
Issue #3264 , fix error handling when spider is not matched
...
Changes
Implementation:
- Check whether Spider exists or is None, and if it's None skip execution of start_requests() with non existing Spider
Testing:
- Add a test case with invalid url inside test_command_parse
Test proves that non-matched Spider does not throw an AttributeError
2022-05-06 03:59:30 +03:00
AngelikiBoura
b2afcbfe2b
Fix typos in three files for Flake8 check ( #5487 )
...
* Fix typos in extensions files
Made some fixes in files memusage.py and statsmailer.py
in order to pass the flake8 check.
* Fix typos in twisted_reactor_custom_settings_same.py
A small change was needed in order for flake8 check
to pass.
2022-05-05 15:49:52 +02:00
Alex
915c288205
edit
2022-04-24 15:17:48 -07:00
Alex
56c9098d6a
changed default depth to 1
2022-04-24 15:17:48 -07:00
Alex
b0f5503cb8
Fixes Issue #5481
2022-04-24 15:17:48 -07:00
Andrey Rahmatullin
35b44f3b98
Merge pull request #5436 from Gallaecio/fix-crawlerprocess-regression
...
CrawlerProcess: initialize the reactor only once
2022-03-25 13:21:21 +05:00
Andrey Rahmatullin
1e1bf353bf
Merge pull request #5440 from Gallaecio/fix-closespider-exception
...
engine: prevent slot method call after unsetting the slot
2022-03-24 19:43:31 +05:00
Yann Defretin
0905d42e33
refactored url_has_any_extension function
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2022-03-17 11:19:09 +01:00
Adrián Chaves
c961438d5d
tests: cover scenarios of bad results from process_spider_output
2022-03-16 18:45:56 +01:00
Adrián Chaves
cb3afcf0e7
Merge remote-tracking branch 'upstream/master' into wrar-asyncio-parse-asyncgen-proper-rebased
2022-03-16 18:08:47 +01:00
Yann Defretin
78ba4b033b
fixed detection of extension like ".tar.gz" in URL
2022-03-16 15:14:24 +01:00
Laerte Pereira
c1d4be8cb5
Restore ‘-o -’ support ( #5445 )
2022-03-15 11:30:30 +01:00
Adrián Chaves
62a0081266
engine: prevent slot method call after unsetting the slot
2022-03-07 12:00:44 +01:00
Adrián Chaves
3bf6baeaa7
initiated → initialized
2022-03-02 17:30:05 +01:00
Adrián Chaves
3ecbea4b87
CrawlerProcess: initiate the reactor only once
2022-03-02 17:30:05 +01:00
Adrián Chaves
23537a0f95
Bump version: 2.6.0 → 2.6.1
2022-03-01 13:48:40 +01:00