Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables: private/secretfile.yml
- schedules:
- - tasks: '*'
- interval:
- hours: 1
- templates:
- tvshows:
- template: False
- plugin_priority:
- manipulate: 0
- set: 1
- thetvdb_lookup: yes
- set:
- title1: "{{ title }}"
- title2: "{{ title }}"
- content_size: {max: 4300}
- deluge:
- host: '{? delugelogin.host ?}'
- username: '{? delugelogin.name ?}'
- password: '{? delugelogin.pass ?}'
- ratio: 0
- removeatratio: yes
- content_filename: "{{series_episode|pad(2)}} - {{title1}} - {{ quality|upper }}"
- path: /DataVolume/shares/Serials/{{title2}}/Сезон {{series_season}}/
- label: tv
- manipulate:
- - title2:
- replace:
- regexp: \((.*)\)
- format: ''
- - title1:
- replace:
- regexp: ^[a-zA-Zа-яА-Я(.' ]*\)?
- format: ''
- - title1:
- replace:
- regexp: ([a-zA-Z0-9_/[\]().]+)
- format: ''
- notifycation2:
- notify:
- entries:
- message: |+
- *{{series_name}}*
- via:
- - telegram:
- bot_token: '{? telegram.bot_token ?}'
- parse_mode: markdown
- recipients:
- - username: '{? telegram.username ?}'
- notifycation1:
- make_html:
- file: /var/www/flexget.html
- template: temp.html
- thetvdb_lookup: yes
- metainfo_series: yes
- notify:
- entries:
- title: "{{title2}} - Сезон {{series_season}}"
- message: "Загружается: {{series_episode|pad(2)}} - {{title1}}"
- via:
- - pushbullet:
- api_key: '{? pushbullet.apikey ?}'
- tasks:
- lostfilm:
- template:
- - tvshows
- - notifycation1
- - notifycation2
- headers:
- cookie: '{? lostfilm.cookie ?}'
- rss: '{? RRSUrls.lostfilm ?}'
- verify_ssl_certificates: no
- urlrewrite:
- newlost:
- regexp: 'https://www.lostfilm.tv/download.php\?(?P<details>.*)'
- format: 'http://old.lostfilm.tv/download.php?\g<details>'
- manipulate:
- - title:
- replace:
- regexp: \)\.\s\(
- format: ') [webdl 480p]. ('
- - title:
- replace:
- regexp: '[0-9]\.\s\('
- format: ') [webdl 480p]. ('
- include: private/series_lostfilm.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement