scrapper funcionando
This commit is contained in:
@ -18,5 +18,3 @@ RUN touch /var/log/cron.log && chmod 0666 /var/log/cron.log
|
|||||||
|
|
||||||
|
|
||||||
CMD ["sh", "-c", "cron -f"]
|
CMD ["sh", "-c", "cron -f"]
|
||||||
|
|
||||||
CMD ["python", "./webscrapper.py"]
|
|
||||||
|
@ -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
1
scrapper/keywords.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Defensa
|
@ -8,4 +8,4 @@ logging
|
|||||||
sqlalchemy
|
sqlalchemy
|
||||||
pydantic
|
pydantic
|
||||||
python-dotenv
|
python-dotenv
|
||||||
mysql-connector-python
|
lxml
|
||||||
|
Reference in New Issue
Block a user