Connect radarr to letterboxd.com lists
This service is hosted on render. That way you don't have to run the service yourself (but you can, see below).
https://letterboxd-list-radarr.onrender.com
followed by the path to your list in letterboxd. For example: https://letterboxd-list-radarr.onrender.com/screeny05/list/jackie-chan-the-definitive-list/
If there are any problems with v3, feel free to open an issue.
https://letterboxd-list-radarr.onrender.com
(or your custom one, if you choose self-hosting)letterboxd.com
.limit
-optionOthers may be supported, but are not tested, yet.
This is a list of all options you can provide to this scraper, You can set them by attaching a get-parameter to the URL like this:
/actor/tom-hanks/?<key>=<value>
Where key
is the name of the option and value
is the value you want to provide.
The following options are currently supported:
limit
- Return only a maximum number of movies. This is useful for very large lists like /films/popular/Disallowed URL according to robots.txt
This means that letterboxd.com does not allow this URL to be crawled per their robots.txt. Your URL probably contains sorting or expensive queries by letterboxd. Check the linked file to ensure your given URL does not match any of the listed paths.
It might take a few minutes after deploying to render, before the instance becomes available.
Be aware that render currently has a free limit of 750h/month. That's exactly enough to run this single service for the whole month.
If you are planning on running this instance for a lot of movies, be sure to set the correct cache-eviction policy for the redis:
heroku redis:maxmemory <name-of-redis-instance> --policy allkeys-lfu
You will get the newest image by pulling screeny05/letterboxd-list-radarr:latest
. The image is available for both x86-64 and arm64.
Here is an example of how to use the image with docker-compose:
version: "3.8"
services:
web:
image: screeny05/letterboxd-list-radarr:latest
ports:
- 5000:5000
environment:
- REDIS_URL=redis://redis:6379
depends_on:
- redis
redis:
image: redis:6.0
For optimal configuration of redis, please check out the redis.conf file in this repository.
git clone git@github.com:screeny05/letterboxd-list-radarr.git
cd letterboxd-list-radarr
npm install
docker-compose up -d
The file redis.conf can be used to configure your own settings for redis. It comes with a memory-limit of 256mb by default. You might want to increase that based on your usage.
Your local instance will be available on port 5000 http://localhost:5000
You need a working redis-instance, which is used for caching movie- & list-data.
Following environment-params are supported:
REDIS_URL
- A redis connection string to your redis-instancePORT
- The http-port which the application listens onLOG_LEVEL
- Set to debug
for more info. Defaults to info
USER_AGENT
- Allows you to set your own user-agent stringnpm install
npm start