Skip to content

Export your ČSFD film ratings as a spreadsheet file

License

Notifications You must be signed in to change notification settings

jakubvalenta/csfd-export

Repository files navigation

ČSFD Export

Export your film ratings as a spreadsheet file.

The resulting file is a CSV that can be imported to Letterboxd.

You can find the app at csfd-export.ooooo.page.

Command Line Interface

Installation

  1. Install Python >= 3.11.

  2. Install ČSFD Export as a pip package:

    $ pip install --user --upgrade .

    This will make the executable csfd-export available globally.

Usage

Fetch ratings for a ČSFD user

Example:

$ csfd-export https://www.csfd.cz/uzivatel/18708-polaroid/hodnoceni/ my_ratings.csv

This will create a file my_ratings.csv like this:

Title,Year,Rating,WatchedDate
The Matrix Resurrections,2021,2,2021-12-29
The Power of Nightmares,2004,5,2021-04-24
Tenkrát v Hollywoodu,2019,0.5,2021-01-30
...

Help

See all command line options:

$ csfd-export --help

Web App

Installation

Mac

$ brew install poetry
$ make setup

Arch Linux

# pacman -S python-poetry
$ make setup

Other systems

Install these dependencies manually:

  • Python >= 3.11
  • poetry

Then run:

$ make setup

Usage

  1. Start the Redis message broker:

    $ make redis
  2. Start the Celery worker:

    $ make worker
  3. Start the development server

    $ make run

Development

Installation

$ make setup

Testing and linting

$ make test
$ make lint

Help

$ make help

Contributing

Feel free to remix this project under the terms of the GNU General Public License version 3 or later. See COPYING and NOTICE.