flexget.plugins.input.npo_watchlist module#

class flexget.plugins.input.npo_watchlist.NPOWatchlist[source]#

Bases: object

Produce entries for every episode on the user’s npostart.nl watchlist (Dutch public television).

Entries can be downloaded using http://arp242.net/code/download-npo

If ‘remove_accepted’ is set to ‘yes’, the plugin will delete accepted entries from the watchlist after download

is complete.

If ‘max_episode_age_days’ is set (and not 0), entries will only be generated for episodes broadcast in the last

x days. This only applies to episodes related to series the user is following.

If ‘download_premium’ is set to ‘yes’, the plugin will also download entries that are marked as exclusive

content for NPO Plus subscribers.

For example:

npo_watchlist:
  email: aaaa@bbb.nl
  password: xxx
  remove_accepted: yes
  max_episode_age_days: 7
  download_premium: no
accept_all: yes
exec:
  fail_entries: yes
  auto_escape: yes
  on_output:
    for_accepted:
      - download-npo -o "path/to/directory/{{series_name_plain}}" -f "{series_title} - {datum}                   {aflevering_title} ({episode_id})" -t {{url}}
_convert_plain(s)[source]#
_get_favourites_entries(task, config, profile_id)[source]#
_get_page(task, config, url)[source]#
_get_series_episodes(task, config, media_id, series_info=None, page=1)[source]#
_get_series_info(task, config, media_id)[source]#
_login(task, config)[source]#
_parse_date(date_text)[source]#
_parse_tiles(task, config, tiles, series_info)[source]#
entry_complete(e, task=None)[source]#
on_task_input(task, config)[source]#
csrf_token = None#
schema = {'additionalProperties': False, 'properties': {'download_premium': {'default': False, 'type': 'boolean'}, 'email': {'type': 'string'}, 'max_episode_age_days': {'default': -1, 'type': 'integer'}, 'password': {'type': 'string'}, 'remove_accepted': {'default': False, 'type': 'boolean'}}, 'required': ['email', 'password'], 'type': 'object'}#
flexget.plugins.input.npo_watchlist.register_plugin()[source]#