Scraping user profiles from Letterboxd.com and creating collages from user diaries.
Before anything, install the dependencies.
pip install -r requirements.txt
python collage.py <username>
This, by default, creates a 5x5 collage for username
. To make one in a different size, supply WIDTH
and HEIGHT
to --size.
python collage.py <username> --size 10 10
The maximum collage size is 10x10.
You can also use these options to filter diary entries.
--hide-shorts, -s Exclude short films from collage
--hide-tv, -t Exclude TV shows from collage
--hide-docs, -d Exclude documentaries from collage
--only-films, -f Only include feature-length films in collage (exclude short films, TV shows, and documentaries)
You can use the web app too locally.
flask --app app/server.py run