Adrián Chaves
6b63e7c147
Bump version: 2.5.0 → 2.6.0
2022-03-01 12:43:11 +01:00
Adrián Chaves
e865c4430e
Merge pull request from GHSA-mfjm-vh54-3f96
...
* Ignore cookies with a public suffix as domain unless it matches the request domain
* Fix the merge of 1.8.2 release notes
* Re-apply removal of tldextract restriction
2022-03-01 12:38:19 +01:00
Adrián Chaves
8ce01b3b76
Merge pull request from GHSA-cjvr-mfj7-j4j8
...
* Do not carry over cookies to a different domain on redirect
* Cover the cookie-domain redirect fix in the release notes
* Cover 1.8.2 in the release notes
* Fix redirect Cookie handling when the cookie middleware is disabled
* Update the 1.8.2 release date
2022-03-01 12:26:05 +01:00
Adrián Chaves
aa0306a167
Cover 2.6.0 in the release notes ( #5399 )
2022-03-01 12:16:37 +01:00
Andrey Rahmatullin
08557e09db
Pin old markupsafe when we pin old mitmproxy ( #5427 )
2022-02-23 19:52:18 +01:00
Gowtham Chowdary
3b42ccfeba
Add a link to Discord ( #5422 )
2022-02-16 21:33:56 +01:00
Andrey Rahmatullin
8840403b70
Merge pull request #5412 from Laerte/master
2022-02-15 18:15:39 +05:00
Andrey Rahmatullin
0b0eea3601
Merge pull request #5419 from PendalF89/patch-2
...
Update downloader-middleware.rst
2022-02-15 10:57:35 +05:00
Abhishek K M
187b5c8876
Update the documentation link for robots.txt ( #5415 )
2022-02-14 19:16:53 +01:00
Boris Zabolotskikh
bbb693d046
Update downloader-middleware.rst
...
Added a link to the method
2022-02-14 12:07:45 +03:00
Laerte Pereira
befb6df119
Remove Python 2 code from WrappedRequest
2022-02-11 06:19:27 -03:00
Andrey Rahmatullin
5d7c0a5f86
Use toscrape.com instead of example.com in test_command_check. ( #5407 )
2022-02-10 10:50:12 +01:00
Alex
e2e2ffd0d1
Move from optparse to argparse ( #5374 )
2022-02-09 20:52:07 +01:00
Andrey Rahmatullin
1356836e7e
Merge pull request #5405 from wRAR/tests-twisted-22.1-fix
...
Fix running tests with Twisted 22.1.0
2022-02-09 00:06:25 +05:00
Andrey Rakhmatullin
77547a1ab5
Revert "Temporarily pin Twisted to an older version in CI ( #5401 )"
...
This reverts commit b282a7af01 .
2022-02-08 21:06:02 +05:00
Andrey Rakhmatullin
1e1cfc26db
Copy resource classes from twisted.web.test.test_webclient.
2022-02-08 21:01:16 +05:00
Raihan Nismara
fd55f62207
Update Logo in README.rst ( #5258 )
2022-02-08 15:36:25 +01:00
Laerte
4bda0976b2
Fix csviter call, add parse_rows test ( #5394 )
2022-02-08 14:57:19 +01:00
Andrey Rahmatullin
840362496c
Merge pull request #5396 from peter-gy/master
...
docs: use https scheme for each quotes.toscrape.com url occurrence
2022-02-08 11:05:52 +05:00
Andrey Rahmatullin
b282a7af01
Temporarily pin Twisted to an older version in CI ( #5401 )
2022-02-07 21:25:08 +01:00
Andrey Rahmatullin
f7bf7414f0
Merge pull request #5398 from elacuesta/remove-deprecated-item-classes
...
Remove deprecated DictItem/BaseItem classes
2022-02-07 12:34:35 +05:00
Eugenio Lacuesta
fca49cca92
Remove deprecated DictItem class
2022-02-06 18:31:55 -03:00
Eugenio Lacuesta
c8c1edd43b
Flake8 adjustments
2022-02-06 18:27:41 -03:00
Eugenio Lacuesta
bbfa185664
Remove deprecated BaseItem class
2022-02-06 18:12:28 -03:00
Péter Ferenc Gyarmati
38d2a154ec
docs: use https scheme for each quotes.toscrape.com url occurrence
2022-02-06 18:52:15 +01:00
Andrey Rahmatullin
3533717488
Merge pull request #5393 from elacuesta/remove-textresponse-body-as-unicode
...
Remove deprecated TextResponse.body_as_unicode
2022-02-06 19:36:55 +05:00
Eugenio Lacuesta
55ae2109c9
Remove deprecated TextResponse.body_as_unicode
2022-02-05 13:11:13 -03:00
Adrián Chaves
9be878fc09
CI: stop using tox-pip-version ( #5389 )
2022-02-04 12:27:39 +01:00
Laerte
fe43411bc4
Fix TypeError on using pathlib.Path as key on FEEDS settings ( #5384 )
2022-02-04 09:57:57 +01:00
Sixuan (Cherie) Wu
30d5779ea9
Fix FEED_URI_PARAMS: custom params throws KeyError ( #4966 )
...
* fix FEED_URI_PARAMS: custom params throws KeyError closes #4962
* another try FEED_URI_PARAMS
* add warning message and change default function
* Add tests for FEED_URI_PARAMS
* FEED_URI_PARAMS: warn if the params dict has been modified in-place
* [Doc] FEED_URI_PARAMS: modifying params in-place is deprecated
* Remove whileline
* Rename parameters for lambda function
* Type hints for FeedExporter._get_uri_params
Co-authored-by: Adrián Chaves <adrian@chaves.io>
Co-authored-by: Eugenio Lacuesta <eugenio.lacuesta@gmail.com>
2022-01-28 14:30:30 -03:00
Georgiy Zatserklianyi
4bdaa54af4
response_httprepr memory issue fixed ( #4972 )
...
* response_httprepr replaced by response.body
* unused import deleted
* get_header_size function added
* response size calculation updated
* flake8 codestyle fix
* added counting status code, line breaks to response size
* get_status size: list to tuple, comments added
* test added: comparing new response size counting method with old `len(response_httprepr)`
* downloader stats : unreachable code deleted
* `get_status_size` optimized
* comment added
* tests.test_downloadermiddleware_stats: statement formatting updated
* scrapy.utils.response: `response_httprepr` -> deprecated
* tests.test_downloadermiddleware_stats: flake8 fix
2022-01-28 18:39:32 +05:00
Mikhail Korobov
9dd77b42b5
Merge pull request #1582 from starrify/add_doc_textresponse_urljoin
...
added: Doc for `scrapy.http.TextResponse.urljoin`
2022-01-23 21:40:21 +05:00
Andrey Rahmatullin
92764d68e2
Merge pull request #3155 from aprasanna/doc-fix
...
A few typo fixes and some grammatical enhancements
2022-01-21 13:59:03 +05:00
Andrey Rahmatullin
5059b8c493
Merge branch 'master' into doc-fix
2022-01-21 13:58:43 +05:00
Andrey Rahmatullin
169bc8866e
Merge pull request #4335 from leobalestri/patch-1
...
Update install.rst
2022-01-21 13:26:11 +05:00
Andrey Rahmatullin
1608b1a7fa
Merge branch 'master' into patch-1
2022-01-21 13:24:51 +05:00
Andrey Rahmatullin
9b8285d98a
Merge pull request #5334 from wRAR/mw-manager-typing-fix
...
Fix typing of middleware methods.
2022-01-10 11:33:12 +05:00
Andrey Rahmatullin
b04cfa4832
Merge pull request #5352 from wRAR/crawler-process-reactor-later
2022-01-06 11:31:59 +05:00
Andrey Rakhmatullin
3577c00569
Merge remote-tracking branch 'origin/master' into crawler-process-reactor-later
2022-01-03 13:59:26 +05:00
Andrey Rahmatullin
c5ab58056c
Set WindowsSelectorEventLoopPolicy on Windows ( #5315 )
2021-12-31 20:38:10 +01:00
Andrey Rakhmatullin
6eaceec735
Implement docs suggestions.
2021-12-31 20:14:24 +05:00
Andrey Rakhmatullin
60800ee5f2
Merge remote-tracking branch 'origin/master' into crawler-process-reactor-later
2021-12-31 20:12:30 +05:00
Andrey Rakhmatullin
a2763c608d
Remove unused MiddlewareManager._process_chain_both().
2021-12-31 18:35:19 +05:00
Andrey Rakhmatullin
a7846d2398
Merge remote-tracking branch 'origin/master' into mw-manager-typing-fix
2021-12-31 18:34:29 +05:00
Andrey Rahmatullin
57dc58123b
Remove the experimental note about asyncio ( #5332 )
2021-12-31 13:15:08 +01:00
Paweł Miech
e4bdd1cb95
downloader.webclient: make reactor import local ( #5357 )
2021-12-31 11:57:12 +01:00
Andrey Oskin
b81938684b
Docs: correct process repetition start step ( #5356 )
...
The process repeats from step 3, the scheduler feeds request to the engine. Steps 1 and 2 are not parts of the loop as their incarnations steps 7 and 8 are parts of the loop.
2021-12-31 11:49:18 +01:00
Andrey Rakhmatullin
0e78b68650
Merge remote-tracking branch 'origin/master' into crawler-process-reactor-later
2021-12-31 15:46:25 +05:00
Andrey Rakhmatullin
64261d9e38
Slight refactoring.
2021-12-31 15:45:59 +05:00
Andrey Rahmatullin
7380888cad
Fix a warning message. ( #5359 )
2021-12-30 10:55:16 -03:00