Sanchay Kumar
|
cadb0dd707
|
Fix overridable methods in MediaPipeline (#6368)
|
2024-05-28 10:42:58 +02:00 |
Laerte Pereira
|
2facdd4fb0
|
Add change reactor test to CrawlerRunner
|
2024-05-26 19:55:54 -03:00 |
Andrey Rakhmatullin
|
631fc65fad
|
Update expectations of cookies after redirects. (#6367)
|
2024-05-16 16:42:09 +02:00 |
Adrián Chaves
|
812fd2368f
|
Allow user-defined secure cookies (#6357)
|
2024-05-15 11:48:43 +02:00 |
Adrián Chaves
|
d2f1e00a6a
|
Merge 2.11.2 changes (#6363)
|
2024-05-14 18:54:11 +02:00 |
Bagaudin Magomedov
|
b88f22c6c5
|
Add SpiderLoggerAdapter, change Spider.logger to return SpiderLoggerAdapter (#6324)
|
2024-05-13 14:33:24 +02:00 |
Sanchay Kumar
|
c9ef520936
|
Add Downloader.get_slot_key() without a spider parameter (#6352)
|
2024-05-10 14:26:45 +02:00 |
aisha-partha
|
180bc9bad7
|
Closes #6342. Setting METAREFRESH_IGNORE_TAGS to [‘noscript’] by default
|
2024-05-08 22:06:46 +05:30 |
Andrey Rakhmatullin
|
a5da77d01d
|
Merge pull request #6221 from jxlil/fix/LxmlLinkExtractor
fix: LxmlLinkExtractor unique_list missing key
|
2024-04-19 19:57:11 +05:00 |
kokobhara
|
b1fe97dc6c
|
Fix test expectations (#6316)
|
2024-04-17 13:14:57 +02:00 |
Víctor Ruiz
|
48c5a8c98f
|
Fix WrappedRequest.get_header raising TypeError if default is None (#6310)
|
2024-04-08 11:47:53 +02:00 |
Andrey Rakhmatullin
|
5d31e89262
|
Merge pull request #6298 from lorenzoverardo/bug-6292/robots.txt-non-UTF-8
Handle robots.txt files not UTF-8 encoded
|
2024-04-05 13:49:10 +05:00 |
Lorenzo Verardo
|
7b37dcd80d
|
Handle robots.txt files not UTF-8 encoded
|
2024-04-04 12:22:50 +02:00 |
igeni
|
f7bf3f726e
|
modified string's concat to f-strings (#6296)
|
2024-04-01 15:37:23 +02:00 |
Andrey Rakhmatullin
|
8d917c0b55
|
Run black.
|
2024-03-14 17:44:57 +05:00 |
Andrey Rakhmatullin
|
5bf0e1d1db
|
Merge branch 'master' into master
|
2024-03-14 17:38:30 +05:00 |
Andrey Rakhmatullin
|
7255dfd41f
|
Merge pull request #6231 from elramen/check_command_tests
Added tests for check command
|
2024-03-14 15:28:19 +05:00 |
Lucas Belo
|
4460d3ed96
|
Remove tests/requirements.txt and refactor extra deps (#6272)
Co-authored-by: lucasbelo777 <lucas.belo@cialdnb.com>
|
2024-03-13 07:22:48 +01:00 |
Andrey Rakhmatullin
|
95a70d3fa0
|
Merge pull request #6290 from Gallaecio/fix-skips
Fix WindowsRunSpiderCommandTest skip outside Windows for older Twisted
|
2024-03-12 14:17:10 +05:00 |
Adrián Chaves
|
d7581c6b41
|
Allow disabling the AutoThrottle extension for a given slot (#6246)
|
2024-03-12 09:44:29 +01:00 |
Adrián Chaves
|
e72de11f55
|
Add super
|
2024-03-12 09:29:10 +01:00 |
Adrián Chaves
|
188d9a8bb3
|
Remove unnecessary comment
|
2024-03-11 23:28:57 +01:00 |
Adrián Chaves
|
ab5ea32ffd
|
Fix WindowsRunSpiderCommandTest skip outside Windows for older Twisted.
|
2024-03-11 23:26:19 +01:00 |
pengqiseven
|
6e84648c07
|
Fix some comments (#6285)
Signed-off-by: pengqiseven <i@sohu.com>
Co-authored-by: pengqiseven <i@sohu.com>
|
2024-03-11 10:03:06 +01:00 |
Laerte Pereira
|
532cd2eabd
|
Use brotlicffi for PyPy
|
2024-03-05 21:30:20 -03:00 |
Laerte Pereira
|
cab1016bb6
|
Add brotlicffi support
|
2024-03-05 20:24:17 -03:00 |
Andrey Rakhmatullin
|
1311e7db05
|
Regenerate the expired mitmproxy-ca.pem.
|
2024-02-29 16:31:06 +05:00 |
Laerte Pereira
|
2169810414
|
fix: Proxy tests don't use custom certificate authority
|
2024-02-29 06:41:14 -03:00 |
Laerte Pereira
|
26a16f2c43
|
Fix tests
|
2024-02-28 16:36:19 -03:00 |
Andrey Rakhmatullin
|
4f9dd998dc
|
Bump pylint, cleanup the ignored tags.
|
2024-02-28 14:31:21 +05:00 |
Andrey Rakhmatullin
|
282767f23b
|
Bump black.
|
2024-02-28 14:30:38 +05:00 |
Adrián Chaves
|
2d46b4acf5
|
Complete coverage for the AutoThrottle extension (#6245)
|
2024-02-27 09:28:02 +01:00 |
Jon
|
b0ef9a89a1
|
Remove usage of deprecated mktemp (#5285)
|
2024-02-26 19:53:06 +01:00 |
vishesh10
|
e208f82076
|
Add support for multiple-compressed responses (#6063)
|
2024-02-22 12:16:24 +01:00 |
Andrey Rakhmatullin
|
ebd7e199f0
|
Merge pull request #6235 from elramen/http_request_tests
Added tests for form.py
|
2024-02-22 12:17:11 +05:00 |
Andrey Rakhmatullin
|
edd7ba1c06
|
Merge pull request #6236 from elramen/json_request_tests_main
Improve json_request.py coverage
|
2024-02-22 12:16:47 +05:00 |
Can Kupeli
|
c513e7d6e5
|
implemented tests for branch coverage for function printSummary
|
2024-02-21 23:52:35 +01:00 |
noon
|
877398a3de
|
refactor #3 Remove inner class in form test
|
2024-02-21 21:13:57 +01:00 |
noon
|
b7a7ae7dbb
|
refactor #22 Change comment and warning catching
|
2024-02-21 21:04:45 +01:00 |
Andrey Rakhmatullin
|
f798118ac2
|
Merge pull request #6232 from elramen/linkextractor_tests
Added tests for LxmlLinkExtractor
|
2024-02-21 23:03:20 +05:00 |
Elias Ram
|
f19045403a
|
test #8 made tests cleaner
|
2024-02-21 16:03:51 +01:00 |
Adrián Chaves
|
6fc7827042
|
Do not close the underlying file from compression plugins (#6239)
|
2024-02-21 14:27:42 +01:00 |
noon
|
bc036542a8
|
refactor #3 Moved tests to FormRequestTest
|
2024-02-21 02:35:45 +01:00 |
noon
|
12b4417c56
|
test #22 Improve json_request.py coverage
|
2024-02-21 02:30:50 +01:00 |
noon
|
e2a0c85f11
|
doc #3 Clarified test comments
|
2024-02-21 02:21:24 +01:00 |
noon
|
e27d320c3c
|
test #3 Increased branch coverage for form.py
|
2024-02-20 23:58:39 +01:00 |
Elias Ram
|
e8e6d28479
|
test #8 added tests for LxmlLinkExtractor
|
2024-02-20 20:41:18 +01:00 |
Elias Ram
|
f096f17fa4
|
test #6 added tests for check command
|
2024-02-20 20:32:02 +01:00 |
Laerte Pereira
|
ee1189512f
|
Replace urlparse with urlparse_cached where possible (#6229)
|
2024-02-20 12:47:29 +01:00 |
Adrián Chaves
|
5e51417a48
|
Add tests, fix canonicalize passing
|
2024-02-16 20:10:52 +01:00 |
Kevin Lloyd Bernal
|
9bb973dc54
|
Refactor LogStats extension to log IPM and RPM to stats on spider_close (#4111)
|
2024-02-16 12:25:38 +01:00 |
Adrián Chaves
|
6bd45bb6d9
|
Merge remote-tracking branch 'scrapy/2.11' into 2.11-port
|
2024-02-15 06:39:50 +01:00 |
Adrián Chaves
|
2f1d345e74
|
Solve test issues
|
2024-02-14 18:59:01 +01:00 |
Adrián Chaves
|
479619b340
|
Merge branch '2.11-redos' into 2.11
|
2024-02-14 17:18:26 +01:00 |
Adrián Chaves
|
809bfac489
|
Merge branch '2.11-compression-bomb' into 2.11
|
2024-02-14 17:16:25 +01:00 |
Adrián Chaves
|
5bcb8fd501
|
Merge branch '2.11-authorization' into 2.11
|
2024-02-14 17:14:29 +01:00 |
Adrián Chaves
|
c5dad41190
|
Speed up tests, remove comments without regexps
|
2024-02-02 14:03:16 +01:00 |
Laerte Pereira
|
7001193c80
|
Simplify the logic
|
2024-01-31 12:53:08 -03:00 |
Laerte Pereira
|
24634f1bb2
|
Attend PR comments
|
2024-01-31 12:29:43 -03:00 |
Laerte Pereira
|
019443dd57
|
Remove settings from default implementation test
|
2024-01-31 10:08:07 -03:00 |
Laerte Pereira
|
2487e3cc03
|
Cleanup deprecated fingerprint code in scrapy.utils.request
|
2024-01-31 10:05:50 -03:00 |
Andrey Rakhmatullin
|
09a7efef7c
|
Remove a defer.returnValue call.
|
2024-01-15 18:19:29 +04:00 |
Adrián Chaves
|
e8dadb9592
|
scrapy parse: fix the signature of callbacks from the CLI (#6182)
|
2024-01-15 13:37:03 +01:00 |
Adrián Chaves
|
fa0c598096
|
Add component getters to Crawler (#6181)
|
2024-01-15 13:14:02 +01:00 |
Mikhail Korobov
|
8ad17f7476
|
Merge pull request #6199 from Rotzbua/fix_flake8
fix(flake8): lint errors
|
2024-01-12 22:52:22 +05:00 |
Andrey Rakhmatullin
|
c2baf4d0da
|
Remove a defer.returnValue call.
|
2024-01-12 18:30:41 +04:00 |
Andrey Rakhmatullin
|
becff65ccb
|
Merge pull request #6201 from wRAR/more-mitmproxy
Fix and re-enable newer mitmproxy usage in tests.
|
2024-01-12 14:26:39 +04:00 |
Mikhail Korobov
|
32fda2dc53
|
Merge pull request #6196 from Rotzbua/fix_typo
fix(typo): correct `successfully`
|
2024-01-12 00:36:16 +05:00 |
Andrey Rakhmatullin
|
68fccb1d58
|
Fix and re-enable newer mitmproxy usage in tests.
|
2024-01-06 01:35:56 +04:00 |
Rotzbua
|
745b8412f6
|
fix(flake8): lint errors
E226 missing whitespace around arithmetic operator
E201 whitespace after '{'
|
2024-01-05 14:54:00 +01:00 |
Rotzbua
|
0d445a3224
|
refactor(yield): use `yield from` syntax
|
2024-01-05 12:30:10 +01:00 |
Rotzbua
|
c7b2b097b1
|
fix(typo): correct `successfully`
|
2024-01-05 10:50:45 +01:00 |
Adrián Chaves
|
0e78acb657
|
MediaPipeline: log media_to_download errors before stripping them (#5068)
|
2023-12-21 21:01:07 +01:00 |
Jalil SA
|
d25cfe5315
|
Add JsonResponse (#6174)
|
2023-12-21 10:36:21 +01:00 |
Swati Anshu
|
c67f730695
|
create_instance → build_from_crawler, build_from_settings (#6169)
|
2023-12-18 11:51:02 +01:00 |
Adrián Chaves
|
27781a85e7
|
Fix bad closing tags in XMLFeedSpider tests
|
2023-12-15 13:52:12 +01:00 |
Adrián Chaves
|
cd6846b763
|
Merge remote-tracking branch 'scrapy/2.11' into 2.11-redos
|
2023-12-15 11:52:35 +01:00 |
Adrián Chaves
|
150d96764b
|
Deprecate xmliter in favor of xmliter_lxml
|
2023-12-15 11:42:55 +01:00 |
Adrián Chaves
|
9655b0b8eb
|
Mark slow tests, with their own tox env and CI job
|
2023-12-15 10:19:47 +01:00 |
Adrián Chaves
|
4f72b49f97
|
Fix namespaces nodename support for xmliter_lxml
|
2023-12-15 10:06:13 +01:00 |
Laerte Pereira
|
b9c4ee26d7
|
Remove deprecated scrapy.downloadermiddlewares.decompression
|
2023-12-13 13:28:30 +01:00 |
Adrián Chaves
|
1533b69032
|
Test and address ReDoS attack vectors for open_in_browser
|
2023-12-13 12:01:35 +01:00 |
Laerte Pereira
|
09ce0ef526
|
Remove test_download_gzip_response test
|
2023-11-23 10:50:46 -03:00 |
Adrián Chaves
|
03d9866518
|
Also use DOWNLOAD_WARNSIZE for decompressions
|
2023-11-23 10:26:47 +01:00 |
Adrián Chaves
|
e0b66c021a
|
Mind Spider.download_maxsize and Request.meta['download_maxsize']
|
2023-11-22 19:03:24 +01:00 |
Adrián Chaves
|
3fda2fe103
|
Protect against gzip bomb sitemaps
|
2023-11-22 18:34:37 +01:00 |
Adrián Chaves
|
9cc8703877
|
Protect against zstandard bombs
|
2023-11-22 17:53:00 +01:00 |
Adrián Chaves
|
fba167c5e1
|
Protect against brotli bombs
|
2023-11-22 17:32:09 +01:00 |
Adrián Chaves
|
0c4a98f8e0
|
Protect against deflate bombs
|
2023-11-22 17:12:43 +01:00 |
Adrián Chaves
|
0bf29a7b1b
|
Update test expectations
|
2023-11-22 16:10:50 +01:00 |
Adrián Chaves
|
6969041c5f
|
Protect against gzip bombs
|
2023-11-22 15:52:00 +01:00 |
Adrián Chaves
|
1c4e93293a
|
Merge remote-tracking branch 'scrapy/2.11' into 2.11-authorization
|
2023-11-17 15:42:08 +01:00 |
Adrián Chaves
|
1045856a50
|
Merge pull request #6112 from wRAR/test-shutdown-forced
Make shutdown tests more robust.
|
2023-11-16 19:16:52 +04:00 |
Andrey Rakhmatullin
|
5e4fb0bc5f
|
Re-enable uvloop tests on 3.12 (#6098)
|
2023-11-16 19:16:31 +04:00 |
Andrey Rakhmatullin
|
538192916f
|
Merge pull request #6064 from wRAR/signals-proper
Refactor installing signals.
|
2023-11-16 19:15:30 +04:00 |
Andrey Rakhmatullin
|
59cfdeaa5c
|
Merge pull request #6083 from wRAR/py3.12-release
Adapt to the Python 3.12 final release
|
2023-11-16 19:14:47 +04:00 |
Adrián Chaves
|
080fecd890
|
Drop the Authorization header on cross-domain redirect
|
2023-11-15 15:39:30 +01:00 |
Andrey Rakhmatullin
|
b4acf5c827
|
Fix and remove most of the entries from the mypy ignore list (#6137)
|
2023-11-07 09:34:35 +01:00 |
Jeesang Kim
|
dda6feb935
|
Improve assert readability (#6132)
|
2023-11-03 09:24:25 +01:00 |
Andrey Rakhmatullin
|
01d9d28324
|
Full typing for scrapy/http/response/__init__.py.
|
2023-11-01 01:10:32 +04:00 |
Chenwei Niu
|
1f797d0fdb
|
Removed some deprecated functions and functionalities (#6116)
|
2023-10-30 09:59:11 +01:00 |
Adrián Chaves
|
1d81585612
|
Merge pull request #6112 from wRAR/test-shutdown-forced
Make shutdown tests more robust.
|
2023-10-30 09:35:29 +01:00 |
Andrey Rakhmatullin
|
6b0c18e921
|
Improve signal sending in test_shutdown_forced.
|
2023-10-19 23:13:47 +04:00 |
Andrey Rakhmatullin
|
cc9c415bf3
|
Disable ipython for InteractiveShellTest.
|
2023-10-18 19:30:57 +04:00 |
Laerte Pereira
|
38dbd43993
|
Remove tests not necessary anymore
|
2023-10-18 06:29:47 -03:00 |
Laerte Pereira
|
644ab3af48
|
Remove support for feed storage backends without feed_options
|
2023-10-17 22:39:09 -03:00 |
Laerte Pereira
|
3db438127c
|
Remove support for HttpCompressionMiddleware subclasses without stats
|
2023-10-17 21:38:38 -03:00 |
Laerte Pereira
|
a2b9351f04
|
Remove support for using HttpAuthMiddleware without http_auth_domain
|
2023-10-17 20:20:38 -03:00 |
Laerte Pereira
|
2de95f1fc0
|
Remove leftover from _make_compatible removal
|
2023-10-17 19:44:12 -03:00 |
Laerte Pereira
|
ad4e8b64d4
|
fix test_spider_manager_verify_interface test
|
2023-10-17 18:58:27 -03:00 |
Laerte Pereira
|
aa0a425826
|
Remove deprecated code moved to itemloaders
|
2023-10-17 18:20:12 -03:00 |
Laerte Pereira
|
7a5cefbcfa
|
Remove deprecated scrapy.downloadermiddlewares.decompression
|
2023-10-17 17:49:22 -03:00 |
Andrey Rakhmatullin
|
2cb1e10c76
|
Make shutdown tests more robust.
|
2023-10-17 23:56:54 +04:00 |
Andrey Rakhmatullin
|
991121fa91
|
Re-enable uvloop tests on 3.12 (#6098)
|
2023-10-17 19:24:44 +02:00 |
Andrey Rakhmatullin
|
5807970a22
|
Add typing hints to CaselessDict and Headers. (#6097)
|
2023-10-17 19:07:13 +02:00 |
Andrey Rakhmatullin
|
029a56384d
|
Increase the timeout.
|
2023-10-09 00:16:41 +04:00 |
Andrey Rakhmatullin
|
9910ccf3ae
|
Merge remote-tracking branch 'origin/master' into signals-proper
|
2023-10-08 23:02:11 +04:00 |
Andrey Rakhmatullin
|
2f436c05e0
|
Use SIGBREAK in Windows tests.
|
2023-10-08 22:55:05 +04:00 |
Andrey Rakhmatullin
|
a338873e3a
|
Re-enable bpython on Python 3.12.
|
2023-10-03 16:50:52 +04:00 |
Andrey Rakhmatullin
|
fb4debda04
|
Use path_to_file_uri to fix the test on Windows.
|
2023-10-03 16:47:03 +04:00 |
Andrey Rakhmatullin
|
1ed9ed4f92
|
Require pyftpdlib that supports Python 3.12.
|
2023-10-02 21:33:02 +04:00 |
Andrey Rakhmatullin
|
eb5e2e79ba
|
Use SIGINT instead of SIGTERM to support Windows.
|
2023-09-24 23:31:46 +04:00 |
Andrey Rakhmatullin
|
4b5fb9b5a6
|
Add a test for SIGTERM handling.
|
2023-09-24 22:52:17 +04:00 |
Andrey Rakhmatullin
|
d19e315b0b
|
Add an interactive test for `scrapy shell`.
|
2023-09-24 21:51:19 +04:00 |
Andrey Rakhmatullin
|
922ff57384
|
Improve the backwards compatibility for RetryMiddleware.EXCEPTIONS_TO_RETRY.
|
2023-09-14 15:51:00 +04:00 |
Andrey Rakhmatullin
|
6428356584
|
Use twisted.python.log instead of failure.printTraceback().
|
2023-09-13 18:20:42 +04:00 |
Andrey Rakhmatullin
|
be0e33af92
|
Don't rely on unhandled exception logging in the expected to fail scripts.
|
2023-09-13 16:59:54 +04:00 |
Andrey Rakhmatullin
|
3756216339
|
Rename methods.
|
2023-09-13 15:47:22 +04:00 |
Andrey Rakhmatullin
|
619140717f
|
Fix the new addon test.
|
2023-09-13 15:33:51 +04:00 |
Andrey Rakhmatullin
|
028a56b9a2
|
Improve and simplify tests.
|
2023-09-13 14:17:41 +04:00 |
Andrey Rakhmatullin
|
62183dc25f
|
Merge branch 'master' into change-init-order
|
2023-09-12 22:16:21 +04:00 |
Andrey Rakhmatullin
|
77f39be407
|
Add integration tests for modifying settings via args.
|
2023-09-12 20:16:26 +04:00 |
Andrey Rakhmatullin
|
e26bf4f918
|
Pin brotli for PyPy tests (#6045)
|
2023-09-12 16:18:25 +02:00 |
Andrey Rakhmatullin
|
bb15c93a2b
|
Add Crawler._load_settings().
|
2023-09-12 14:44:16 +04:00 |
Andrey Rakhmatullin
|
6629a61dd9
|
Fix one more testcase.
|
2023-09-08 20:15:49 +04:00 |
Andrey Rakhmatullin
|
036d5836d0
|
Move more things from Crawler.__init__() to .crawl().
|
2023-09-08 19:29:05 +04:00 |
Andrey Rakhmatullin
|
97b98bf181
|
Roll back the update_settings() changes.
|
2023-09-07 17:02:37 +04:00 |
Maria Mitropoulou
|
721df895f9
|
Fix charset handling in MailSender #5096 (#5118)
|
2023-09-07 07:47:42 +02:00 |
Andrey Rakhmatullin
|
b4380995da
|
Merge remote-tracking branch 'origin/master' into change-init-order
|
2023-09-06 20:34:27 +04:00 |
Andrey Rakhmatullin
|
b39d2d4353
|
Add a test.
|
2023-09-06 19:44:22 +04:00 |
Andrey Rakhmatullin
|
d3b5c9be97
|
Deprecate running Crawler.crawl() twice.
|
2023-09-06 19:29:44 +04:00 |
Andrey Rakhmatullin
|
69282c5318
|
Merge branch 'master' into change-init-order
|
2023-09-05 19:23:36 +04:00 |
Víctor Ruiz
|
c1dd5493ac
|
Fix enabled addons not being logged (#6036)
|
2023-09-04 08:03:35 +02:00 |
Mikhail Korobov
|
0fcb0554d1
|
Merge pull request #6016 from jxlil/fix/response.json
Fix: response.json() call makes unnecessary memory allocation
|
2023-08-31 14:07:24 +05:00 |
Georgiy Zatserklianyi
|
1f03cb1419
|
Merge remote-tracking branch 'upstream/master' into periodic_log_2
|
2023-08-21 17:07:18 +03:00 |
Laerte Pereira
|
df2163ce6a
|
Remove datetime.utcnow() usage (#6014)
|
2023-08-21 15:51:49 +02:00 |
Jalil SA
|
fd4292b722
|
fix: test_cache_json_response
|
2023-08-17 10:24:34 -06:00 |
Laerte Pereira
|
b06936f111
|
Handle Tuple type on getdictorlist method, bump 3.12 python version
|
2023-08-14 10:33:48 -03:00 |
Andrey Rakhmatullin
|
34d050cfe5
|
Remove deprecated CrawlerRunner.spiders. (#6010)
|
2023-08-11 10:41:05 +02:00 |
Laerte Pereira
|
4a090d951a
|
Remove deprecated PythonItemExporter.binary (#6007)
|
2023-08-10 07:36:42 +02:00 |