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.5+):

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.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

fa_scraper-0.4.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fa_scraper-0.4.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.3 Linux/6.8.10-300.fc40.x86_64

File hashes

Hashes for fa_scraper-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d9d0da38f391d149fbc5a60939b2ed538fa3d1216eead975169fa40a258e60b7
MD5 7e5d079e9298e9f3c6fa102ed0419220
BLAKE2b-256 5a5134f23a46ed438644d53b05b4f852fb69d515af1bb25202d643e51d987339

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fa_scraper-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.3 Linux/6.8.10-300.fc40.x86_64

File hashes

Hashes for fa_scraper-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 858b506feb64f202d29ea0b74b76fba8184e2ec40eb04545d421198ded426cd4
MD5 b854aafc9b7952bdc92fe072589953d2
BLAKE2b-256 3c2870b1bb7eb4522526ee59c83d232492e5fc3650e64cfa329da309f8788d02

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