Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClassicalBot

Crawlers for classical music concerts websites.

Production services

The repository deploys two independent CapRover services:

  • classical-bot is the normal concert pipeline. It is built from Dockerfile, applies database migrations, and starts python main.py to run the scheduled crawlers and analyzers. Its persistent runtime state is stored under /var/lib/classical-bot.
  • classical-crawler-factory creates and validates crawler changes with Codex. Its CapRover deployment uses captain-definition-crawler-factory, which selects Dockerfile.crawler-factory, and starts python -m automation.run_crawler_factory_service. It keeps its scheduler, worker, GitHub CLI, and Codex state separate from the normal pipeline.

The factory can publish crawler changes, but it does not run the production concert-scraping pipeline. See automation/README.md for its deployment and runtime details.

Structure:

crawlers/{country_code}/ - crawlers for given country crawlers/{country_code}/{url}.py - crawler for given url

Env:

API_URL=
DB_HOST=
DB_NAME=classical_sk
DB_USER=
DB_PASS=
DB_PORT=5432
HTTP_PROXY=
HTTPS_PROXY=
PYTHONUNBUFFERED=1
CODEX_HOME=/app/.codex
RUN_JOBS_ON_STARTUP=false

Run crawlers

uv run python -m crawlers.sk.filharmonia_sk.main

Codex resumes:

musicbrainz: codex resume 019fb970-7f0f-7081-bc57-9556b294591b

About

Crawlers for https://classical.sk

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages