Skip to content

Run Raspador Noticias #5

Run Raspador Noticias

Run Raspador Noticias #5

name: Run Raspador Noticias
on:
schedule:
- cron: "0 3 * * 0"
jobs:
run-scraper:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
working-directory: ./backend
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Executa o raspador
working-directory: ./backend/raspadores/noticias_secult_bs
run: |
python3 raspador.py