Ausgabe der neuen DB Einträge
This commit is contained in:
parent
bad48e1627
commit
cfbbb9ee3d
2399 changed files with 843193 additions and 43 deletions
14
venv/lib/python3.9/site-packages/scrapy/commands/list.py
Normal file
14
venv/lib/python3.9/site-packages/scrapy/commands/list.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
from scrapy.commands import ScrapyCommand
|
||||
|
||||
|
||||
class Command(ScrapyCommand):
|
||||
|
||||
requires_project = True
|
||||
default_settings = {'LOG_ENABLED': False}
|
||||
|
||||
def short_desc(self):
|
||||
return "List available spiders"
|
||||
|
||||
def run(self, args, opts):
|
||||
for s in sorted(self.crawler_process.spider_loader.list()):
|
||||
print(s)
|
||||
Loading…
Add table
Add a link
Reference in a new issue