scrapy/scrapy/commands
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
..
__init__.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
bench.py Fix type for urlencode's doseq argument 2021-04-01 15:22:51 -03:00
check.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
crawl.py Update UsageError message 2021-03-22 21:46:05 +01:00
edit.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
fetch.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
genspider.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
list.py Merge remote-tracking branch 'upstream/master' into remove-six-code 2019-11-20 12:41:38 -03:00
parse.py Issue #3264, fix error handling when spider is not matched 2022-05-06 03:59:30 +03:00
runspider.py allowing to run .pyw files (#4646) 2020-10-01 23:53:08 +05:00
settings.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
shell.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
startproject.py Merge pull request #4676 from Gallaecio/startproject-existing-folder 2021-08-24 12:18:49 +05:00
version.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00
view.py Move from optparse to argparse (#5374) 2022-02-09 20:52:07 +01:00