Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1.  
  2. # Import variables
  3. variables: private/secrets.yml
  4.  
  5. web_server:
  6. # Run webservice
  7. bind: 0.0.0.0
  8. port: 5050
  9. web_ui: yes
  10.  
  11. schedules:
  12. # Run all tasks once an 10 min
  13. - tasks: '*'
  14. interval:
  15. minutes: 10
  16.  
  17. templates:
  18. global:
  19. regexp:
  20. reject:
  21. - (s|d)ub(s|bed)?\b: {from: title}
  22. - (duo|tri|quadri|tetra|penta|hexa|hepta|octa|ennea|deca)logy: {from: title}
  23. - \b3-?D\b: {from: title}
  24. - Blu-ray: {from: title}
  25. - BDRemux: {from: title}
  26. - полностью: {from: title}
  27. - MP4: {from: title}
  28. - Весь сезон: {from: title}
  29.  
  30. torrents:
  31. transmission:
  32. enabled: yes
  33. host: '{? transmlogin.host ?}'
  34. port: 9091
  35. username: '{? transmlogin.usr ?}'
  36. password: '{? transmlogin.pwd ?}'
  37. addpaused: no
  38. maxconnections: 30
  39. honourlimits: yes
  40. clean_transmission:
  41. enabled: yes
  42. host: '{? transmlogin.host ?}'
  43. port: 9091
  44. username: '{? transmlogin.usr ?}'
  45. password: '{? transmlogin.pwd ?}'
  46. # transmission_seed_limits: yes
  47. min_ratio: 4
  48.  
  49. tg-notify-serials:
  50. notify:
  51. entries:
  52. message: |+
  53. *{{series_name}}* рейтинг: {{tvdb_ep_rating}}
  54. *{{tvdb_ep_name}}*
  55. _{{series_season}} сезон {{series_episode}} серия_
  56. [Постер]({{tvdb_banner}})
  57. via:
  58. - telegram:
  59. bot_token: '{? telegram.bot_token ?}'
  60. parse_mode: markdown
  61. recipients:
  62. - username: '{? telegram.username1 ?}'
  63. - username: '{? telegram.username2 ?}'
  64. tg-notify-tv:
  65. notify:
  66. entries:
  67. message: |+
  68. *{{series_name}}*
  69. _{{title}}_
  70. via:
  71. - telegram:
  72. bot_token: '{? telegram.bot_token ?}'
  73. parse_mode: markdown
  74. recipients:
  75. - username: '{? telegram.username1 ?}'
  76.  
  77. serials:
  78. thetvdb_lookup: yes
  79. include: private/series.yml
  80. set:
  81. path: /volume1/all/serials/{{series_name}}/Season {{series_season}}
  82. label: Serials
  83.  
  84.  
  85. tvshows:
  86. include: private/tvshows.yml
  87. set:
  88. path: /volume1/all/tv/{{ series_name|replace('/', '_')|replace(':', ' ') }}
  89. label: TVShows
  90.  
  91.  
  92. tasks:
  93. lostfilm:
  94. priority: 1
  95. headers:
  96. cookie: '{? lfc.uid ?}'
  97. rss: http://www.lostfilm.tv/rssdd.xml
  98. urlrewrite:
  99. lostfilm:
  100. regexp: 'http://lostfilm.tv/download.php\?(?P<details>.*)'
  101. format: 'http://www.lostfilm.tv/download.php?\g<details>'
  102. template: [torrents, serials, tg-notify-serials]
  103. manipulate:
  104. - title:
  105. replace:
  106. regexp: '[^a-zA-z0-9()]+\s'
  107. format: ''
  108. - description:
  109. extract: src="(.*?)"
  110.  
  111. tvshow:
  112. inputs:
  113. - rss: '{? RRSUrls.nnmclubtv ?}'
  114. - rss: '{? RRSUrls.nnmclubhumor ?}'
  115. template: [torrents, tvshows, tg-notify-tv]
  116. manipulate:
  117. - title:
  118. replace:
  119. regexp: 'SATRip'
  120. format: 'tvrip'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement