Skip to content

Backup all your FilmAffinity movies (watched+lists) to CSV

Notifications You must be signed in to change notification settings

IgnacioHeredia/filmaffinity-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FilmAffinity backup to CSV

tests

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.

alt text

The script intentionally waits 5s between each parsing request to avoid getting the IP blocked by the FilmAffinity server.

Some related repos include:

Footnotes

  1. To find your user_id, go to Mis votaciones and copy the ID from the url https://www.filmaffinity.com/es/userratings.php?user_id={........}.

About

Backup all your FilmAffinity movies (watched+lists) to CSV

Topics

Resources

Stars

Watchers

Forks

Languages