This is part of managed list plugin system.
IMDb enforces captchas more often than not, which the plugin currently cannot handle. If login fails, please open an issue on Github. If you do not need to alter IMDb lists, you can use imdb_watchlist instead.
Creates an Entry for each item in an IMDb list.
This plugin is useful for example when used in a task with the movie_list plugin to add movies from your IMDb watchlist to your movie list, or to filter entries directly against the watchlist via list_match (see example below).
Notes:
imdb_id
, so using imdb_lookup: yes
is advised.In order to login into imdb we have to rely on browser cookies. You can get the cookie information from your browser. The required fields are:
Get Cookie from Chrome:
Cookies can be added to the config in several ways:
Set Cookie in config:
imdb_list:
login: my_login
cookies:
ubid-main: "<<from cookie>>"
at-main: "<<from cookie>>"
list: watchlist
Set Cookie with variables:
variables.yaml:
imdb:
login: mylogin@mail.com
cookies:
ubid-main: "xxx-xxxxxxxx-xxxxxxx"
at-main: "XxXxXxXxXxXxXxXxXx"
list: 'mylist'
config.yaml:
imdb_list:
login: '{? imdb.login ?}'
cookies: '{? imdb.cookie ?}'
list: '{? imdb.list ?}'
Set Cookie in json format:
imdb_list:
login: '{? imdb.login ?}'
cookies: '{"ubid-main":"xxx-xxxxxxxx-xxxxxxx","at-main":"XxXxXxXxXxXxXxXxXx"}'
list: '{? imdb.list ?}'
Set Cookie from a file in JSON format:
imdb_list:
login: '{? imdb.login ?}'
cookies: '/path/to/file.json'
list: '{? imdb.list ?}'
file.json
{"ubid-main":"xxx-xxxxxxxx-xxxxxxx","at-main":"XxXxXxXxXxXxXxXxXx"}
imdb_list:
login: 123@abc.com
cookies:
ubid-main: "xxxxxxxxxxxx"
at-main: "xxxxxxxxxx"
list: watchlist
force_language: es-mx # Optional - Force Specified Language
You can force a returned language using the force_language
parameter. A list of valid language values can be found here here, You will need to select the proper LCID language string.
List Action Example
rss: http://rss.com
imdb_lookup: yes
list_match:
from:
- imdb_list:
login: 123@abc.com
cookies:
ubid-main: "xxxxxxxxxxxx"
at-main: "xxxxxxxxxx"
list: watchlist
download: /downloads/