Untitled
unknown
plain_text
9 months ago
376 B
7
Indexable
from app import QuotesToScrapeSpider, CrawlerProcess
resposta = input('Devo iniciar a automação? (s/n)')
if resposta == 's':
bot = CrawlerProcess(
settings={
"FEEDS": {
"livros.json": {"format":"csv"}
}
}
)
bot.crawl(QuotesToScrapeSpider)
bot.start()
else:
print('Não será iniciado a automação')Editor is loading...
Leave a Comment