These are some minimal scripts to backup your FilmAffinity data to a CSV.
Information saved:
- list movies: For each movie in the list, it saves:
movie title
movie year
movie country
movie directors
user score
Filmaffinity score
Filmaffinity movie id
- watched movies: same as list movies, plus the
movie genre
To perform the backup, install the required packages and run main.py
with your user_id
1:
pip install -r requirements.txt
python main.py 861134
You data will be saved to the ./data folder.
The script intentionally waits 5s between each parsing request to avoid getting the IP blocked by the FilmAffinity server.
Some related repos include:
Footnotes
-
To find your
user_id
, go toMis votaciones
and copy the ID from the urlhttps://www.filmaffinity.com/es/userratings.php?user_id={........}
. ↩