scrapper funcionando

This commit is contained in:
Your Name
2025-02-07 23:47:27 +01:00
parent 0eebccb198
commit bf98c64630
4 changed files with 3 additions and 4 deletions

View File

@ -18,5 +18,3 @@ RUN touch /var/log/cron.log && chmod 0666 /var/log/cron.log
CMD ["sh", "-c", "cron -f"]
CMD ["python", "./webscrapper.py"]

View File

@ -1 +1 @@
0 1 * * * python3 /app/main.py >> /var/log/cron.log 2>&1 #modificar para ajustar
0 1 * * * python3 /app/scrapper/webscrapper.py >> /var/log/cron.log 2>&1 #modificar para ajustar

1
scrapper/keywords.txt Normal file
View File

@ -0,0 +1 @@
Defensa

View File

@ -8,4 +8,4 @@ logging
sqlalchemy
pydantic
python-dotenv
mysql-connector-python
lxml