Emmanuel Rondan
e211ec0aa2
adding black formatter to all the code
2022-11-29 11:30:46 -03:00
Mark Mayo
f9a29f03d9
Address some issues reported by Pylint ( #5677 )
...
Co-authored-by: Felipe Boff Nunes <51033921+felipeboffnunes@users.noreply.github.com>
Co-authored-by: Andrey Rahmatullin <wrar@wrar.name>
2022-11-27 11:00:13 +01:00
Andrey Rahmatullin
d19a216e10
Merge branch 'master' into pathlib
2022-11-25 18:20:25 +05:00
Matthew Donoughe
065db7b566
fix some mypy issues
2022-10-19 08:28:26 -04:00
Matthew Donoughe
93d82648e5
resolve this path too
2022-10-19 08:08:21 -04:00
Matthew Donoughe
fb26e6b650
resolve path to search in error
2022-10-18 20:21:11 -04:00
Matthew Donoughe
7daf735f45
downgrade type hint syntax
2022-10-18 20:07:29 -04:00
Matthew Donoughe
40d9ca3bdd
use pathlib
2022-10-17 17:40:10 -04: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
Alex
636127ec1e
tests that all CLI help messages don't throw errors
2022-04-22 16:32:58 -07:00
Laerte Pereira
c1d4be8cb5
Restore ‘-o -’ support ( #5445 )
2022-03-15 11:30:30 +01:00
Alex
e2e2ffd0d1
Move from optparse to argparse ( #5374 )
2022-02-09 20:52:07 +01: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
0025134382
Completely skip WindowsRunSpiderCommandTest outside Windows.
2021-12-23 16:45:17 +05:00
Georgiy Zatserklianyi
d3f1bf79e8
Use f-strings where appropriate ( #5246 )
2021-10-07 16:27:20 +02:00
Matsievskiy S.V
3f635eb683
Extract domain from genspider URL ( #4439 )
2021-08-24 11:05:50 +02:00
Andrey Rahmatullin
ada539a63a
Merge pull request #4676 from Gallaecio/startproject-existing-folder
...
Fix startproject failing for existing folders
2021-08-24 12:18:49 +05:00
Adrián Chaves
308a58aa27
Update CI to support Twisted 21.2.0 ( #5027 )
2021-03-19 18:39:44 +01:00
Valdir Stumm Junior
a2c4a7f920
Add missing f-string prefix to genspider output
2020-11-08 20:14:59 -03:00
Georgiy Zatserklianyi
a5872a0fad
Fix output file overwrite with -O (FeedExporter updated) ( #4859 )
2020-10-30 19:36:39 +01:00
Akshay Sharma
159e2b2e2f
allowing to run .pyw files ( #4646 )
...
* allow .pyw in scrapy/commands/runspider.py
* aesthetics
* added tests for '.pyw'
* created class for testing .pyw files
* name=None parameter in get_log
* small fix
* .pyw tests for non-windows
* used @skipIf for tests
* two more tests skipped
2020-10-01 23:53:08 +05:00
Ammar Najjar
defeaacbc2
Merge branch 'master' into 4307-use-f-strings
...
Conflicts resolved:
- delete tests/py36/_test_crawl.py
2020-08-29 07:12:44 +02:00
Andrey Rahmatullin
59a0157ef1
Merge pull request #4722 from Gallaecio/umask
...
Do not let umask affect the permissions of startproject-generated files
2020-08-28 18:41:02 +05:00
Ammar Najjar
58ca8bbf6d
Use f-strings ( #4307 )
2020-08-26 07:11:05 +02:00
sakshamb2113
42383cc267
Add a setting to customize the asyncio event loop ( #4414 )
2020-08-19 09:18:14 +02:00
Adrián Chaves
e70975f0bb
Allow overwriting feeds ( #4512 )
...
Co-authored-by: Yuval Hager <yhager@yhager.com>
2020-08-17 15:10:08 +02:00
Ajay Mittur
a8e08d51cd
Check if file is already present on running `scrapy genspider` and terminate if so ( #4623 )
2020-08-17 10:45:52 +02:00
Adrián Chaves
4c0afb606c
Update permission expectations
2020-08-12 17:45:26 +02:00
Adrián Chaves
125a058340
Do not let umask affect the permissions of startproject-generated files
2020-08-12 17:07:21 +02:00
Marc Hernández
336f19f5cc
Change super syntax ( #4707 )
2020-08-04 20:42:01 +02:00
Adrián Chaves
6e119bd3e3
Merge branch 'master' into azure-pipelines
2020-07-14 11:26:19 +02:00
Adrián Chaves
544c1f6e39
Fix the issue
2020-07-13 16:30:34 +02:00
Adrián Chaves
0770961054
Write a test for #4665
2020-07-13 16:05:57 +02:00
Adrián Chaves
7e38615703
Remove unused import
2020-07-07 15:30:19 +02:00
Adrián Chaves
ca77ca1f75
Generate read-only files on the fly
2020-07-07 14:44:03 +02:00
Adrián Chaves
e1450799ce
Remove debug test case variable
2020-07-07 14:11:37 +02:00
Adrián Chaves
a3afff4a0e
Fix style issue
2020-07-07 14:11:02 +02:00
Adrián Chaves
79b4dfc53e
Fix permission handling on project generation from template files
2020-07-07 14:07:04 +02:00
Adrián Chaves
3199048520
Complete Azure Pipelines CI setup
2020-07-03 00:56:24 +02:00
Eugenio Lacuesta
ada37c5409
Export to multiple formats in a single crawl
2020-03-05 09:33:57 -03:00
elacuesta
35dafef7f1
Specify Twisted reactor (TWISTED_REACTOR setting) ( #4294 )
...
* Add the ability to install a specific reactor
* Add docs for the TWISTED_REACTOR setting
* Add tests for the TWISTED_REACTOR setting
* Update asyncio reactor test
* Ignore W503 globally
W503 is not PEP8-compliant:
c59c4376ad
* Line length adjustment
* Adjust asyncio reactor tests
* Merge ASYNCIO_ENABLED and TWISTED_REACTOR settings
* More docs about TWISTED_REACTOR
* Fix asyncio reactor test
* Docs: fix title
* Reword docs
* Check the TWISTED_REACTOR setting outside of the installing function
* Remove unrelated change
* Update scrapy/utils/log.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update docs/topics/settings.rst
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update docs/topics/settings.rst
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-02-06 22:42:34 +05:00
Andrey Rakhmatullin
dc1ee09481
Rename ASYNCIO_ENABLED to ASYNCIO_REACTOR, change the logic accordingly.
2019-12-27 21:56:28 +05:00
Andrey Rakhmatullin
3560123090
Rename ASYNCIO_SUPPORT to ASYNCIO_ENABLED.
2019-12-13 18:07:47 +05:00
Andrey Rakhmatullin
ed34ce14c0
Add the ASYNCIO_SUPPORT setting, reshuffle other logic accordingly.
2019-12-04 21:32:56 +05:00
Andrey Rakhmatullin
cc19ab5439
Add tests that check asyncio support.
2019-12-04 21:32:56 +05:00
Andrey Rakhmatullin
a138fb05d4
Replace to_native_str calls with to_unicode.
2019-11-14 13:45:39 +05:00
Daniel Graña
ca53a8699a
Fix presentation of template directory in startproject command
2018-08-15 01:35:01 -03:00
Daniel Graña
fb09148c91
Fix bad merge on ParseCommandTest
2018-08-15 01:35:01 -03:00
Daniel Graña
ed8255bde0
Fix merge issues with stderr/out fixes for windows buffering
2018-08-15 01:33:38 -03:00