apache_conf 我目前为FlexGet配置的

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf 我目前为FlexGet配置的相关的知识,希望对你有一定的参考价值。

lostfilm:
  headers:
    cookie: uid=000000;pass=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;usess=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

novafilm:
  headers:
    cookie: nftv=xxxxxxxxxxxxxxxxxxxxxxxxxx

litrcc:
  rss: http://litr.cc/rss/download/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

soap4me:
  rss: http://soap4.me/rss/full/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

alexfilm:
  rss: http://alexfilm.cc/rss.php?uk=xxxxxxxxxxxx&uid=00000

nnmclub:
  rss: http://nnmclub.to/forum/rss2.php?uk=xxxxxxxxxx&f=496,768,232&r&h=72
schedules:
  - tasks: '*'
    interval:
      hours: 1
  - tasks: 'LOCAL'
    interval:
      hours: 4

web_server:
  bind: 0.0.0.0
  port: 3539

variables: secrets.yml

templates:
  transmission:
    transmission:
      host: vserver
      port: 9091
      ratio: 2.0
  delete_file:
    exec: rm -f -- "{{ location }}"
  mkdir:
    exec: test -e "{{ path }}" || mkdir -m 775 -p "{{ path }}"
  manual:
    manual: yes
  series:
    series:
      settings:
        main:
          qualities:
            - 720p
            - hdtv+
          tracking: no
          set: { path: "/media/vault/Videos/TV Shows/{{ series_name }}" }
  season:
    set: { path: "/media/vault/Videos/TV Shows/.collector/" }

tasks:
  LOCAL:
    filesystem:
      path:
        - "/media/vault/"
      mask: '*.torrent'
      recursive: yes
      retrieve: files
    accept_all: yes
    no_entries_ok: yes
    set: { path: "{{ location | pathdir }}" }
    disable:
      - seen
      - seen_info_hash
    template:
      - transmission
      - delete_file
  LOSTFILM:
    rss:
      url: https://old.lostfilm.tv/rssdd.xml
      ascii: yes
    urlrewrite:
      lostfilm:
        regexp: 'https://www.lostfilm.tv/download.php\?(?P<details>.*)'
        format: 'http://old.lostfilm.tv/download.php?\g<details>'
    headers:
      cookie: '{? lostfilm.headers.cookie ?}'
    verify_ssl_certificates: no
    manipulate:
      - title:
          from: url
          extract: 'https?://www\.lostfilm\.tv/download\.php\?id=\d+&(.+)\.torrent'
    series:
      main:
#       - Serial name:
#           path: "/Volume/Videos/TV Shows/Serial name"
        - Better Call Saul
        - Fargo
        - Homeland
        - The Last Ship
        - Mr. Robot
        - Narcos
        - Sherlock
        - Stranger Things
        - The Expanse
        - The Walking Dead
    template:
      - transmission
      - mkdir
      - series
  NOVAFILM:
    rss: http://novafilm.tv/rss/rssd.xml
    headers:
      cookie: '{? novafilm.headers.cookie ?}'
    series:
      main:
#       - Serial name
        - 'undefined id'
    template:
      - transmission
      - mkdir
      - series
      - manual
  LITRCC:
    rss: '{? litrcc.rss ?}'
    accept_all: yes
    template:
      - transmission
      - season
      - manual
  SOAP4ME:
    rss: '{? soap4me.rss ?}'
    headers:
      User-Agent: 'w3m/0.5.3'
    manipulate:
      - title:
          replace:
            # regexp: '(.+)\s/\s.+\s(\d+)\s.+\s(\d+)\s/\s(.+)\s/.+:\s(.+),.+:\s((SD|HD|fullHD))'
            regexp: '(.+)/.*(\d{2}).*(\d{2}).*/(.+)\s/.*:\s(.+),.*:\s(.+)'
            format: '[\5] \1 - \4, (S\2E\3) \6TV'
    series:
      main:
#       - Serial name:
#           from_group: Release group
        - South Park:
            from_group: VO L0cDoG
        - The Big Bang Theory:
            from_group: Кураж Бамбей
        - Mike and Molly:
            from_group: Кураж Бамбей
        - Doctor Who:
            from_group: Субтитры
        - True Detective:
            from_group: NovaFilm
        - Silicon Valley:
            from_group: Кубик в Кубе
        - Orphan Black:
            from_group: Baibak&Ko
        - Orange Is the New Black:
            from_group: NewStudio
        - Halt and Catch Fire:
            from_group: NewStudio
        - The Last Man on Earth:
            from_group: Кубик в Кубе
        - Rick and Morty:
            from_group: Сыендук
        - Black Mirror:
            from_group: Кубик в Кубе
        - The Grand Tour:
            from_group: Jetvis Studio
        - Sense8:
            from_group: NewStudio
    template:
      - transmission
      - mkdir
      - series
  ALEXFILM:
    rss: '{? alexfilm.rss ?}'
    regexp:
      accept:
#       - Serial name
        - 'undefined id'
        - Game of Thrones
        - We Bare Bears
    quality:
      - 720p hdtv+
    disable: seen
    template:
      - transmission
      - season
  RUTOR:
# Usage
# -----
#   http://xrutor.org/torrent/286462/zvjozdnyj-krejser-ga...
#                            ^^^^^^
#   regexp:
#     accept:
#       # Battlestar Galactica (Season 1)
#       - '286462'
# - - -
    rss: http://xrutor.org/rss.php?cat=4
    regexp:
      accept:
        - 'undefined id'
        # [Filiza] Family Guy - Season 15
        - '529756'
        # [Filiza] Family Guy - Season 14
        - '526470'
      from: url
    disable: seen
    template:
      - transmission
      - season
      - manual
  NNMCLUB:
# Usage
# -----
#   http://nnmclub.to/forum/viewtopic.php?t=289379
#                                            ^^^^^^
#   regexp:
#     accept:
#       # Battlestar Galactica
#       - '289379'
# - - -
    rss: '{? nnmclub.rss ?}'
    regexp:
      accept:
        - 'undefined id'
      from: description
    disable: seen
    template:
      - transmission
      - season
      - manual

以上是关于apache_conf 我目前为FlexGet配置的的主要内容,如果未能解决你的问题,请参考以下文章

apache_conf shanaproject + flexget + plex

apache_conf FlexGet:АвтоматическаяRSS-скачкасериаловLostfilm.tvдляновойверсиисайта

FlexGet:来自 kinopoisk 的 RSS 解析和检查评级

RSS, Transmission flexget in linux

群晖安装FlexGet配合qBittorrent实现监控下载

apache_conf 为.htaccess文件创建可靠的基础。目前包括RewriteBase,Security(针对索引,文件等)和Expires Headers