Andrey Rahmatullin
d96c465dde
Merge pull request #5639 from Laerte/fix/test_batch_path_differ
...
fix: `batch_path_differ` test
2022-10-05 14:44:30 +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
Laerte Pereira
3ca7877781
chore: Skip `batch_path_differ` test on Windows
2022-09-29 11:51:50 -03:00
Gábor Lipták
385acd5598
Match pyOpenSSL and service_identity to Twisted
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-09-24 21:33:02 -04:00
Mikhail Korobov
90b8503789
Merge pull request #5611 from mtabbasi/issue-5601
...
BOM should take precedence over Content-Type header when detecting the encoding
Fixes GH-5601.
2022-09-13 15:07:50 +05:00
Laerte Pereira
582a6bf6db
refactor: Use `safe_url_string` to standardize url output
2022-09-06 10:03:18 -03:00
Laerte Pereira
1289422284
chore: Skip `test_ipv6_default_name_resolver` test if w3lib version >= 2.0.0
2022-09-06 08:17:58 -03:00
Laerte Pereira
f4bcc3e67d
fix: failed tests
2022-09-06 01:15:41 -03:00
Mohammadtaher Abbasi
a988c4b78b
add test
2022-08-29 17:08:30 +04:30
Mikhail Korobov
56e2eeac10
fix typing issues by upgrading mypy
2022-07-27 09:41:12 +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
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 Rakhmatullin
b21c16099e
Fix flake8 issues.
2022-07-22 19:18:33 +05: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
Mikhail Korobov
b103664bf4
Address 2/3 of warnings from tests ( #5561 )
2022-07-19 17:39:26 +02:00
Andrey Rahmatullin
44580851ff
Merge pull request #5560 from scrapy/non-existing-resolvable
...
make Scrapy testing suite more robust in environments where non-existing hosts are resolvable
2022-07-19 11:28:38 +05:00
Mikhail Korobov
1054689593
remove unused imports
...
thanks flake8!
2022-07-18 23:53:30 +05:00
Mikhail Korobov
e248360e6e
remove compatibility code from tests for the case dataclasses module is not available
...
It was Python 3.6 compat code, and Python 3.6 support is dropped.
2022-07-18 23:49:08 +05:00
Mikhail Korobov
26c70318cb
make Scrapy testing suite more robust in environments where non-existing hosts are resolvable
2022-07-17 16:47:20 +05: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
Adrián Chaves
4ef71829b2
If TWISTED_REACTOR is None, reuse any pre-installed reactor ( #5528 )
2022-06-17 10:37:27 +02:00
Adrián Chaves
ec5cf3e9ce
test_feedexport: solve ordered comparison issues
2022-06-17 09:10:18 +02:00
Adrián Chaves
bc285f393c
Revert "Revert "test_feedexport: remove ordered=False""
...
This reverts commit 516e2d6ec0 .
2022-06-17 09:00:39 +02:00
Adrián Chaves
516e2d6ec0
Revert "test_feedexport: remove ordered=False"
...
This reverts commit 24f382fa45 .
2022-06-17 08:55:45 +02:00
Adrián Chaves
3729c6d266
Remove unused import and redundant import
2022-06-17 08:33:34 +02:00
Adrián Chaves
24f382fa45
test_feedexport: remove ordered=False
2022-06-17 08:31:45 +02:00
Adrián Chaves
1b9ed22bec
Remove Python < 3.7 leftover
2022-06-17 08:27:17 +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
892c2a4655
delete unnecessary test
2022-06-13 23:46:42 +04:30
Mikhail Korobov
de0e2ccd7b
Merge pull request #5451 from FJMonteroInformatica/master
...
make test files follow HTML conventions
2022-06-12 00:46:45 +05:00
Mohammadtaher Abbasi
ddfd192b70
add tests for multiple headers with same name
2022-06-11 23:51:34 +04:30
Laerte Pereira
6770d1ec62
chore(tests): Remove validations for unsupported modules versions
2022-06-09 09:08:09 -03:00
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
5c586d78f0
add tests
2022-05-25 23:58:09 +04:30
Andreas Tziortziortziopoulos
b5c15d87ff
[issue3264] Separate test for not matched spider to a url
2022-05-22 12:19:20 +03:00
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
636127ec1e
tests that all CLI help messages don't throw errors
2022-04-22 16:32:58 -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