Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Import variables
- variables: private/secrets.yml
- web_server:
- # Run webservice
- bind: 0.0.0.0
- port: 5050
- web_ui: yes
- schedules:
- # Run all tasks once an 10 min
- - tasks: '*'
- interval:
- minutes: 10
- templates:
- global:
- regexp:
- reject:
- - (s|d)ub(s|bed)?\b: {from: title}
- - (duo|tri|quadri|tetra|penta|hexa|hepta|octa|ennea|deca)logy: {from: title}
- - \b3-?D\b: {from: title}
- - Blu-ray: {from: title}
- - BDRemux: {from: title}
- - полностью: {from: title}
- - MP4: {from: title}
- - Весь сезон: {from: title}
- torrents:
- transmission:
- enabled: yes
- host: '{? transmlogin.host ?}'
- port: 9091
- username: '{? transmlogin.usr ?}'
- password: '{? transmlogin.pwd ?}'
- addpaused: no
- maxconnections: 30
- honourlimits: yes
- clean_transmission:
- enabled: yes
- host: '{? transmlogin.host ?}'
- port: 9091
- username: '{? transmlogin.usr ?}'
- password: '{? transmlogin.pwd ?}'
- # transmission_seed_limits: yes
- min_ratio: 4
- tg-notify-serials:
- notify:
- entries:
- message: |+
- *{{series_name}}* рейтинг: {{tvdb_ep_rating}}
- *{{tvdb_ep_name}}*
- _{{series_season}} сезон {{series_episode}} серия_
- [Постер]({{tvdb_banner}})
- via:
- - telegram:
- bot_token: '{? telegram.bot_token ?}'
- parse_mode: markdown
- recipients:
- - username: '{? telegram.username1 ?}'
- - username: '{? telegram.username2 ?}'
- tg-notify-tv:
- notify:
- entries:
- message: |+
- *{{series_name}}*
- _{{title}}_
- via:
- - telegram:
- bot_token: '{? telegram.bot_token ?}'
- parse_mode: markdown
- recipients:
- - username: '{? telegram.username1 ?}'
- serials:
- thetvdb_lookup: yes
- include: private/series.yml
- set:
- path: /volume1/all/serials/{{series_name}}/Season {{series_season}}
- label: Serials
- tvshows:
- include: private/tvshows.yml
- set:
- path: /volume1/all/tv/{{ series_name|replace('/', '_')|replace(':', ' ') }}
- label: TVShows
- tasks:
- lostfilm:
- priority: 1
- headers:
- cookie: '{? lfc.uid ?}'
- rss: http://www.lostfilm.tv/rssdd.xml
- urlrewrite:
- lostfilm:
- regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
- format: 'http://www.lostfilm.tv/download.php?\g<details>'
- template: [torrents, serials, tg-notify-serials]
- manipulate:
- - title:
- replace:
- regexp: '[^a-zA-z0-9()]+\s'
- format: ''
- - description:
- extract: src="(.*?)"
- tvshow:
- inputs:
- - rss: '{? RRSUrls.nnmclubtv ?}'
- - rss: '{? RRSUrls.nnmclubhumor ?}'
- template: [torrents, tvshows, tg-notify-tv]
- manipulate:
- - title:
- replace:
- regexp: 'SATRip'
- format: 'tvrip'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement