Synology installation FlexGet with qBittorrent implement monitoring download

1. Install from Synology Package Center python3, remember to install the disk to volume1 example.

 

2. Install and update pip pip

# Switch to python bin directory 
cd / volume1 / @ the AppStore / Py3k / usr / local / bin

# installation PIP
./python3 -m ensurepip

# updated PIP
./python3 -m PIP PIP install --upgrade

 

3. Create virtualenv container (recommended)

# Installation virtualenv 
./python3 -m PIP install -i HTTPS: // pypi.tuna.tsinghua.edu.cn/simple virtualenv

create an environment virtualenv # After successful installation
./virtualenv ./flexget/

# to switch to flexget of
Virtualenv directory
flexget cd

# virtualenv environment [start after starting on the left side there are marked flexget command line]
source bin / activate

 

4. Installation flexget

bin/pip install -i https://pypi.tuna.tsinghua.edu.cn/simple flexget

 

5. After the installation is complete exit virtualenv

deactivate

 

6. Configuration file config.yml, use winscp uploaded to the specified location after a good recommendation edited locally, and set permissions [reasonable position: /root/.config/flexget/config.yml] # specific and detailed format see Baidu web_server:

 

web_server:
  the bind: 0.0.0.0
  Port: 50123 # Web-ui listening port
  # ssl_certificate: '/etc/ssl/private/myCert.pem' #SSL location of the certificate, https is enabled, then delete the previous number #
  # ssl_private_key: '/etc/ssl/private/myKey.key' #SSL location of the certificate, https is enabled, then delete the # sign in front
  web_ui: yes # ui-enable Web
  base_url: / Flex # URL suffix
  run_v2: yes # start V2 version

Tasks:
  example1:
    rss: ***********
    ACCEPT_ALL: NO # Are all the download, then yes you do not want to filter all deleted before downlod
    verify_ssl_certificates: NO
    if: # enabled if the condition filter
      # - " 'special effects' in title ": the Accept
      # -" 'DEF' in title ": Reject # title does not contain DEF download
    download: / volume1 / Docker / flexget_torrents
Schedules:
  - Tasks: 'example1'
  interval The:
  minutes: 5

 

7. Set web password is a password strength requirements []

 /volume1/@appstore/py3k/usr/local/bin/flexget/bin/flexget web passwd ******

 

8. daemon to start

/volume1/@appstore/py3k/usr/local/bin/flexget/bin/flexget daemon start -d

 

9. Add the boot

    etc / rc.local # rc.local script editor, in front of the exit 0 (front row), add the following content and save it in italics

/volume1/@appstore/py3k/usr/local/bin/flexget/bin/flexget daemon start -d

    After the restart, SSH login to shell, enter the following in the terminal, there are flexget process, it shows the success of the launch.

ps -aux | grep flexget

 

10. Web access

http://ip:50123/flex/

 

11. Other

    Set qBittorrent monitoring directory to the download directory flexget

 

Guess you like

Origin www.cnblogs.com/xingyuyy/p/11308180.html