https://github.com/kodzonko/cinema-repertoire-analyzer
Quickly get repertoires of major Polish cinema chains - Cinema City, Multikino & Helios from the comfort of your terminal. Movie info is enriched with TMDB ratings and plot summaries.
https://github.com/kodzonko/cinema-repertoire-analyzer
cinema-city-scraper filmweb-scraper helios-scraper imdb-scraper movie movie-recommendation repertoire-analysis repertoire-scraper
Last synced: about 1 month ago
JSON representation
Quickly get repertoires of major Polish cinema chains - Cinema City, Multikino & Helios from the comfort of your terminal. Movie info is enriched with TMDB ratings and plot summaries.
- Host: GitHub
- URL: https://github.com/kodzonko/cinema-repertoire-analyzer
- Owner: kodzonko
- License: mit
- Created: 2021-08-02T17:07:19.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T02:04:04.000Z (about 1 year ago)
- Last Synced: 2024-05-21T03:49:59.247Z (about 1 year ago)
- Topics: cinema-city-scraper, filmweb-scraper, helios-scraper, imdb-scraper, movie, movie-recommendation, repertoire-analysis, repertoire-scraper
- Language: HTML
- Homepage:
- Size: 1.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cinema Repertoire Analyzer
  
Scraper repertuarów dla Cinema City, umożliwia zaciągnięcie repertuaru na najbliższe dni dla wybranego kina sieci Cinema City.
Wyniki pokazane wraz z oceną i streszczeniem filmu z TMDB.Datę (w tym wartości takie jak "dzis", "jutro" oraz nazwę kina można podać w parametrach lub ustawić domyślne wartości w pliku `run.env`.)
## Wymagania
- poetry
- python 3.12
- (opcjonalnie) make## Instalacja
```shell
$ make install
lub
$ poetry install
$ poetry run playwright install
```Do działania wymagany plik `run.env` z danymi kluczem API TMDB (opcjonalnie) oraz preferencjami użytkownika w katalogu głównym projektu (patrz plik: `run.env.template`).
Możliwe także podanie tych danych jako zmienne środowiskowe.
## Uruchomienie
```shell
$ poetry run app repertoire # wyświetla repertuar dla domyślnego kina i daty
$ poetry run app repertoire bemowo 2024-12-06 # wyświetla repertuar dla kina Warszawa - Bemowo na podany dzień (o ile jest na stronie)
$ poetry run app venues list # wyświetla dostępne kina
$ poetry run app venues update # aktualizuje listę kin w lokalnej bazie danych
$ poetry run app venues search manufaktura # wyświetla kina zawierające w nazwie "manufaktura"
```## Testy
Komendy do uruchamiania testów wybiórczo w pliku `Makefile`.
```shell
make tests
lub
poetry run pytest tests
```| :warning: | Program nie jest aktywnie rozwijany, ale ewentualne PRy pod warunkiem pokrycia testami będą mergowane. |
| --------- | :----------------------------------------------------------------------------------------------------- |[Post-mortem](https://github.com/kodzonko/cinema-repertoire-analyzer/blob/master/docs/post-mortem.md)