Skip to main content

A Letterboxd-compatible FilmAffinity scraper.

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-scraper using pip (Python 3.9+):

python3 -m pip install fa-scraper

Then run

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

Using Docker

You need to install Docker. Once installed, run:

docker run --name fa-container fascraperdev/fascraper fa-scraper 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.

Run fa-scraper --help to see further options.

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_scraper-0.4.1.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fa_scraper-0.4.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file fa_scraper-0.4.1.tar.gz.

File metadata

  • Download URL: fa_scraper-0.4.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1017-azure

File hashes

Hashes for fa_scraper-0.4.1.tar.gz
Algorithm Hash digest
SHA256 35fb36a1d394dcb406d295c9826e71ae36dabbdc63aeaaf5cc8c28b9570eda02
MD5 1640ee372df7afbca93faeed71022335
BLAKE2b-256 4c2c29af137a55b41b84f6b3d46160a524c4184b98f6a0d2e84ac87ea2ace640

See more details on using hashes here.

File details

Details for the file fa_scraper-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: fa_scraper-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1017-azure

File hashes

Hashes for fa_scraper-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15c3afba07f347199793490593bd7872dadc3629b66c4c2b11f27c78e79ad644
MD5 ba2c6fbdc6aa0f49f2f77057c1da2d18
BLAKE2b-256 b50826b351997df67e32b220d94bc207b93bcf6e17684e4f719ecc2973795ff5

See more details on using hashes here.

Supported by

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