Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Coleta pagamentos por dia #27

Merged
merged 4 commits into from
Dec 24, 2019
Merged

Coleta pagamentos por dia #27

merged 4 commits into from
Dec 24, 2019

Conversation

anapaulagomes
Copy link
Contributor

Resolve parte da issue #20. Agora os pagamentos poderão ser coletados por dia - o objetivo é rodar a coleta todos os dias e coletar apenas os itens do dia anterior.

yesterday = datetime.now() - timedelta(days=1)
yesterday = yesterday.date()

process.crawl("cityhall_payments", start_date=yesterday)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verificar se tem como pegar todos os spiders automaticamente.

@anapaulagomes anapaulagomes marked this pull request as ready for review December 24, 2019 02:28
@anapaulagomes anapaulagomes merged commit 9ca5ddf into master Dec 24, 2019
@anapaulagomes anapaulagomes deleted the coleta-por-dia branch December 24, 2019 02:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant