Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. # Import variables
  2. variables: private/secrets.yml
  3.  
  4. web_server:
  5. # Run webservice
  6. bind: 0.0.0.0
  7. port: 5050
  8. web_ui: yes
  9.  
  10. schedules:
  11. # Run all tasks once an 10 min
  12. - tasks: '*'
  13. interval:
  14. minutes: 10
  15.  
  16. templates:
  17. global:
  18. regexp:
  19. reject:
  20. - (s|d)ub(s|bed)?\b: {from: title}
  21. - (duo|tri|quadri|tetra|penta|hexa|hepta|octa|ennea|deca)logy: {from: title}
  22. - \b3-?D\b: {from: title}
  23. - Blu-ray: {from: title}
  24. - BDRemux: {from: title}
  25. - полностью: {from: title}
  26. - MP4: {from: title}
  27. - Весь сезон: {from: title}
  28.  
  29. torrents:
  30. transmission:
  31. enabled: yes
  32. host: '{? transmlogin.host ?}'
  33. port: 9091
  34. username: '{? transmlogin.usr ?}'
  35. password: '{? transmlogin.pwd ?}'
  36. addpaused: no
  37. maxconnections: 30
  38. honourlimits: yes
  39.  
  40. clean_transmission:
  41. enabled: yes
  42. host: '{? transmlogin.host ?}'
  43. port: 9091
  44. username: '{? transmlogin.usr ?}'
  45. password: '{? transmlogin.pwd ?}'
  46. min_ratio: 4
  47.  
  48. tg-notify-serials:
  49. notify:
  50. entries:
  51. message: |+
  52. *{{series_name}}* рейтинг: {{tvdb_ep_rating}}
  53. *{{tvdb_ep_name}}*
  54. _{{series_season}} сезон {{series_episode}} серия_
  55. [Постер]({{tvdb_banner}})
  56. via:
  57. - telegram:
  58. bot_token: '{? telegram.bot_token ?}'
  59. parse_mode: markdown
  60. recipients:
  61. - username: '{? telegram.username1 ?}'
  62. - username: '{? telegram.username2 ?}'
  63. tg-notify-tv:
  64. notify:
  65. entries:
  66. message: |+
  67. *{{series_name}}*
  68. _{{title}}_
  69. via:
  70. - telegram:
  71. bot_token: '{? telegram.bot_token ?}'
  72. parse_mode: markdown
  73. recipients:
  74. - username: '{? telegram.username1 ?}'
  75.  
  76. tg-notify-other:
  77. notify:
  78. entries:
  79. message: |+
  80. *{{filename}}*
  81. _загружается_
  82. via:
  83. - telegram:
  84. bot_token: '{? telegram.bot_token ?}'
  85. parse_mode: markdown
  86. recipients:
  87. - username: '{? telegram.username1 ?}'
  88.  
  89. pb-notify:
  90. notify:
  91. entries:
  92. title: "[flexget] {{task}}"
  93. message: "{{filename}} загружается"
  94. via:
  95. - pushbullet:
  96. api_key: "{? pushbullet.apikey ?}"
  97.  
  98.  
  99. serials:
  100. thetvdb_lookup: yes
  101. include: private/series.yml
  102. set:
  103. path: /volume1/all/serials/{{series_name}}/Season {{series_season}}
  104. label: Serials
  105.  
  106.  
  107. tvshows:
  108. include: private/tvshows.yml
  109. set:
  110. path: /volume1/all/tv/{{ series_name|replace('/', '_')|replace(':', ' ') }}
  111. label: TVShows
  112.  
  113. nnmserials:
  114. include: private/nnmseries.yml
  115. set:
  116. path: /volume1/all/serials/{{ series_name|replace('/', '_')|replace(':', ' ') }}
  117. label: NNMShows
  118.  
  119. nnmmust:
  120. set:
  121. path: /volume1/all/downloads
  122. label: NNMmust
  123.  
  124. tasks:
  125. lostfilm:
  126. priority: 1
  127. headers:
  128. cookie: '{? lfc.uid ?}'
  129. rss: http://retre.org/rssdd.xml
  130. urlrewrite:
  131. lostfilm:
  132. regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
  133. format: 'http://www.lostfilm.tv/download.php?\g<details>'
  134. # template: [torrents, serials, tg-notify-serials]
  135. template: [torrents, serials, tg-notify-serials]
  136. manipulate:
  137. - title:
  138. replace:
  139. regexp: '[^a-zA-z0-9()]+\s'
  140. format: ''
  141. - description:
  142. extract: src="(.*?)"
  143.  
  144. tvshow:
  145. disable:
  146. - remember_rejected
  147. - retry_failed
  148. - seen
  149. - seen_info_hash
  150. inputs:
  151. - rss: '{? RRSUrls.nnmclubtv ?}'
  152. - rss: '{? RRSUrls.nnmclubhumor ?}'
  153. template: [torrents, tvshows, tg-notify-tv]
  154. manipulate:
  155. - title:
  156. replace:
  157. regexp: 'SATRip'
  158. format: 'tvrip'
  159.  
  160.  
  161. nnmshow:
  162. disable:
  163. - remember_rejected
  164. - retry_failed
  165. - seen
  166. - seen_info_hash
  167. inputs:
  168. - rss: '{? RRSUrls.nnmserials ?}'
  169. template: [torrents, nnmserials, tg-notify-tv]
  170. manipulate:
  171. - title:
  172. replace:
  173. regexp: 'SATRip'
  174. format: 'tvrip'
  175. series:
  176. settings:
  177. set:
  178. upgrade: yes
  179.  
  180. nnmmust:
  181. inputs:
  182. - rss: '{? RRSUrls.nnmmustload ?}'
  183. template: [torrents, nnmmust, tg-notify-other]
  184. accept_all: yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement