/Pt-Autoseed

An Autoseed used to reseed TV-series or Anime in PT sites

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PT-Autoseed

An Autoseed used to reseed TV-series and Anime in Some PT sites.

The Reseed List: Saw Gist Rhilip/Reseed List please.

GitHub license

Support Site

Site URL Supported Date
北邮人BT https://bt.byr.cn/ 2017-02-07
蒲公英 NPUBits https://npupt.com/ 2017-05-12
麦田 PT https://pt.nwsuaf6.edu.cn/ 2017-05-26
北洋园PT https://tjupt.org/ 2017-06-23
OurBits https://ourbits.club/ 2018-07-21

Based Environment

  • Ubuntu 16.04.03, Python 3.5.2
  • Seedbox Environment

    It's recommended to use Aniverse/inexistence to prepare your Seedbox Environment.

    Notice: You should at least install this software:

     - Transmission
     - Flexget
     - MediaInfo
     - ffmpeg
    
  • MySQL (Use a remote mysqld alternative is feasible)

apt-get -y install mysql-server
  • Python3 model
apt-get -y install python3-pip python3-lxml
pip3 install pymysql transmissionrpc requests bs4 html2bbcode
  • Supervisor (Suggest)
apt-get install supervisor

How to Use

git clone https://github.com/Rhilip/Pt-Autoseed.git
cd Pt-Autoseed
cp setting.py usersetting.py
vi usersetting.py
sudo python3 run.py

Notice: You should run the autoseed as root. if no problem or error, You can use screen or other software like supervisor to keep it run in the background.

Reseeder Setting

  • class extractors.base.site.Site
Key in setting Type Default Description
status Boolean False Require, Reseeder enable status
cookies Dict or String None Require, Cookies for reseeder site
extend_descr_before Boolean True Enable to Enhanced the description of notice
extend_descr_thumbnails Boolean True Enable to Enhanced the description of thumbnails
extend_descr_mediainfo Boolean True Enable to Enhanced the description of mediainfo
extend_descr_cloneinfo Boolean True Enable to Enhanced the description of cloneinfo
assist_only Boolean False Enable to only assist the exist same torrent but not to reseed
assist_delay_time Integer 0 Seconds, Delay time when assist only modal enable
  • class extractors.base.nexusphp.NexusPHP(Site)
Key in setting Type Default Description
anonymous_release Boolean True Enable to Release anonymously
auto_thank Boolean True Enable to Automatically thanks for additional Bones after Reseed
default_clone_torrent Integer None When not find the clone torrent, use it as default clone_id
force_judge_dupe_loc Boolean False Judge torrent is dupe or not in location before post it to PT-site.
get_clone_id_from_db Boolean True Enable to get clone torrent's id from database first, then search.
allow_cat List None Used to limit the reseed torrent category
download_torrent Boolean False Download Torrent to temp folder then add to transmission or feed the link
  • class extractors.byrbt.Byrbt(NexusPHP)
Key in setting Type Default Description
no_subtitle Boolean False NO subtitle when POST
  • class extractors.tjupt.TJUPT(NexusPHP)
Key in setting Type Default Description
torrent_visible Boolean True Display In the browse page (Dead torrent will be set if not checked)
  • class extractors.hudbt.HUDBT(NexusPHP)
Key in setting Type Default Description
original_search Boolean False USE Original Search method, but not Third-party interface

Contribute

  • Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  • Help to fix and update the reseed torrent's description.
  • If the funds permit, please donate to help me update this repo and the autoseed server.
WeChat Alipay QQ