Skip to content

maszlasz/kino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kino

This project generates a summary of all available repertoires from all cinemas in the city of Kraków, while highlighting any movies that have been added to those repertoires recently, based on previously generated summaries stored in a local database.

The summary can be stored as a textfile, if provided with flag --log, or sent as a notification via Gotify, if provided with options --gotify-origin (address of the gotify server) and --gotify-token (gotify app token).
So e.g:

kino --gotify-origin="http://localhost:80" --gotify-token="VXfxf84GDD.MXX"

Preferably it should be ran once a day so that it can accurately determine when each movie has been added to the repertoires.
Personally I have it automated, with the notifications sent to the Gotify app on my phone.

The repertoires are obtained either via web scraping, for the following cinemas:

  • Agrafka
  • Kijów
  • Kika
  • Mikro
  • Pod Baranami
  • Paradox
  • Sfinks

Or via calls using reverse engineered APIs, for the following cinemas:

  • Cinema City Bonarka
  • Cinema City Kazimierz
  • Cinema City Zakopianka
  • Multikino

Multikino started presenting JS challenges via Cloudflare for non-Polish IPs.
To get around that, a geo-located proxy from Scrape.do can be optionally used:

kino --log --scrape-do-token="m3k9bzx2pq7tnw54ral8cjvf10ehig6youd93s5a2b"

The aggregated movies have hyperlinks to an external movie database Filmweb, which is also used for obtaining international versions of titles.

Example output displayed by the Gotify Android app:

About

Cinema repertoire aggregator for the city of Kraków.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages