Laerte Pereira
1506479672
Remove deprecated test
2022-11-22 10:07:32 -03:00
Laerte Pereira
8e0025f53d
Remove support for override settings with `SCRAPY_` environment variables
2022-11-22 09:38:54 -03:00
Laerte Pereira
1a6408c3fa
Remove `FilteringLinkExtractor`
2022-11-21 07:30:20 -03:00
Laerte Pereira
d5b6c236a9
Remove deprecated code ( #5719 )
2022-11-21 09:32:26 +01:00
Andrey Rahmatullin
bbe24d79a5
Fix test issues
2022-11-07 17:08:54 +05:00
Andrey Rahmatullin
6c0890ff54
Simplify the changes after the merge
2022-11-07 16:36:54 +05:00
Andrey Rahmatullin
b03d84e9fb
Merge branch 'master' into 3689-update
2022-11-07 16:33:21 +05:00
Andrey Rahmatullin
77cd511a5e
Merge pull request #5489 from PluT00/deprecate-NoimagesDrop
...
Deprecate scrapy.pipelines.images.NoimagesDrop
2022-11-05 14:18:19 +05:00
Andrey Rahmatullin
8004075823
Merge pull request #5699 from elacuesta/crawlspider-callback-keyword-arguments
...
CrawlSpider: pass cb_kwargs from process_request
2022-11-02 17:35:03 +05:00
Andrey Rahmatullin
a95a338eea
Merge pull request #5599 from tonal/patch-1
...
Partial in is_generator_with_return_value
2022-10-31 20:08:16 +05:00
Eugenio Lacuesta
b18560315b
Add tests
2022-10-30 18:28:16 -03:00
Andrey Rakhmatullin
b71d0292d5
Add a test for processing partial callbacks.
2022-10-27 18:13:47 +06:00
Godson
3a34fa8399
Get the event loop from event_loop_policy to avoid a deprecation warning ( #5689 )
2022-10-27 14:02:12 +02:00
Andrey Rakhmatullin
ca50af6453
Remove an unused import.
2022-10-27 17:12:26 +06:00
Andrey Rahmatullin
5780ccba55
Merge branch 'master' into deprecate-NoimagesDrop
2022-10-27 15:46:32 +05:00
Adrián Chaves
46dd152b3e
Merge remote-tracking branch 'upstream/master' into more-lenient-proxying
2022-10-26 16:55:04 +02:00
Godson-Gnanaraj
830e1c5dd8
Add test for parsing decorated methods
2022-10-26 01:26:54 +05:30
Andrey Rahmatullin
b33244e2f0
Fix the flake8 per-file ignore syntax ( #5688 )
2022-10-21 16:17:04 +02:00
Adrián Chaves
06c8f673af
2.7 release notes ( #5680 )
...
* Fix the display name of documented fingerprinter class methods
* Initial draft for the Scrapy 2.7 release notes
* Update VERSION and PREVIOUS_VERSION references
* Clarify the restrictions lifted for item field output names
* Fix the description of the BOM bug fix
* Fix the note about changes in MIME sniffing
* Fix typo
* Extend highlights
* Fyx typo
2022-10-17 18:04:29 +05:00
Andrey Rahmatullin
ea6315b404
Merge pull request #5679 from wRAR/template-asyncio-reactor
...
Change TWISTED_REACTOR in the default template.
2022-10-15 14:54:59 +05:00
Adrián Chaves
960a7f68f6
Verify that the installed asyncio event loop matches ASYNCIO_EVENT_LOOP ( #5529 )
...
Co-authored-by: Laerte Pereira <5853172+Laerte@users.noreply.github.com>
2022-10-15 11:27:00 +02:00
Adrián Chaves
75bb516edb
Adapt tests to the new value of TWISTED_REACTOR for new projects
2022-10-15 10:26:38 +02:00
Mohammadtaher Abbasi
043575123c
Add async callback support to the parse command ( #5577 )
2022-10-15 10:11:05 +02:00
Andrey Rakhmatullin
5bf4260679
Update flake8.
2022-10-10 11:14:20 +06:00
Andrey Rakhmatullin
eeb199adda
Fix flake8 issues in previously ignored files.
2022-10-10 11:10:59 +06:00
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
Adrián Chaves
77c055ee28
Relax Proxy-Authorization restrictions
2022-09-14 14:47:14 +02: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