BotLino / BotLino/Lino-WebCrawler

Recuperação de datas desatualizada

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
bug Código
Dominant language
Python
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Descrição

Em 2018, os dados dos cardápios recuperados pelo crawler vinham com uma má formação das datas, impossibilitando a leitura correta das datas a serem salvas no banco de dados.
Para resolução rápida do problema, o ano ( que era a parte que vinha mal formada ) foi inserido manualmente no código.
Como o ano de 2018 acabou, essa solução impossibilita a recuperação de novos cardápios. É preciso encontrar uma nova forma de resolver esse problema.

## Tarefas

- [ ] Remover as partes de código com 2018 _hardcoded_ para receber qualquer ano.

## Critérios de aceitação

- [ ] Código passando no flake8
- [ ] Código aceitando datas desse ano

Contributor guide

Open the contributing guide

Research direction

Search the repository for hardcoded 2018 values and the crawler's date-parsing logic; no specific file or test is named in the issue. Run flake8, then verify that the crawler accepts dates from the current year and that they can be saved correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.