Skip to main content

A Letterboxd-compatible FilmAffinity scrapper.

Project description

filmAffinity to Letterboxd

(Versión en español)

Generates CSV file compatible with Letterboxd diary importer from FilmAffinity user's data given their ID.

This program is intended for personal use only; please ensure the person you are getting the data from consents to it beforehand and check which privacy and data protection regulations might apply before using the program to get data from other people.

Installation

Using pip

You can install fa-scrapper using pip (Python 3.5+):

pip install fa-scrapper

Then run

fa-scrapper [--csv FILE] [--lang LANG] id

Using Docker

You need to install Docker. Once installed, run:

docker build -t fa-image https://github.com/mx-psi/fa-scrapper.git#master
docker run --name fa-container fa-image fa-scrapper id
docker cp fa-container:/*.csv .
docker rm fa-container`

Getting your IDs

In order to get your FilmAffinity data you need to find out what your FilmAffinity ID is. There are different IDs for your user ratings and your lists.

How to get your user id

Go to your profile page and copy the user_id field from the URL:

filmaffinity.com/es/userratings.php?user_id=XXXXXX

How to get a list id

Go to the list pages (in the left menu), and access the list you want (it needs to be public).

You need to copy the list_id field from the URL:

filmaffinity.com/es/mylist.php?list_id=XXXXXX

Options

  • --list LIST sets ID of the public list you want to export
  • --csv FILE sets CSV export file name to FILE
  • --lang LANG sets language to LANG. Letterboxd importer works best in English, the default option.

Troubleshooting

  • Could not set locale: The script attempts to guess your locale setting given your platform. If it fails to do so you need to provide it yourself. On Linux you can get available locales by running locale -a in your terminal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fa-scrapper-0.1.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

fa_scrapper-0.1.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file fa-scrapper-0.1.0.tar.gz.

File metadata

  • Download URL: fa-scrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.16-1-MANJARO

File hashes

Hashes for fa-scrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e9d068dcb0697c6534051e567eac5483367d5cbc5f495156b164bfa91d18505
MD5 8d84f9a7c0c8b962f29428bf5c14861e
BLAKE2b-256 292cb67875ef91e6067b8b4f6c637454aa920632e6cb2d8d146ea2ee75bb50e3

See more details on using hashes here.

File details

Details for the file fa_scrapper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fa_scrapper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.16-1-MANJARO

File hashes

Hashes for fa_scrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d215f6e1576c0983bc2ba09f4b14a5f7160b68e2bb96aeb2755a513a93c19a65
MD5 ee955e9581a2468c0918af6222e140ba
BLAKE2b-256 b9f1b35f100c777d135bd26bbcff0c3b1b980b05616388f4a6dc6b6b3962697e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page