Skip to content

Commit

Permalink
fix(TJUPT): 修复TJUPT因为主tracker变更导致无法发布
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Sep 22, 2019
1 parent 769df98 commit 91aaca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions extractors/tjupt.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

import re

import requests

from extractors.base.nexusphp import NexusPHP
from utils.constants import ubb_clean
from utils.load.handler import rootLogger as Logger
Expand All @@ -30,7 +28,7 @@

class TJUPT(NexusPHP):
url_host = "https://tjupt.org"
db_column = "pttrackertju.tjupt.org"
db_column = "pttracker6.tjupt.org"

def __init__(self, status, cookies, passkey, **kwargs):
# Site Features: Display In the browse page (Dead torrent will be set if not checked -> "0")
Expand Down
4 changes: 2 additions & 2 deletions table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CREATE TABLE `info_list` (
`tracker.byr.cn` int(11) NOT NULL DEFAULT '0',
`npupt.com` int(11) NOT NULL DEFAULT '0',
`pt.nwsuaf6.edu.cn` int(11) NOT NULL DEFAULT '0',
`pttrackertju.tjupt.org` int(11) NOT NULL DEFAULT '0',
`pttracker6.tjupt.org` int(11) NOT NULL DEFAULT '0',
`hudbt.hust.edu.cn` int(11) NOT NULL DEFAULT '0',
`tracker.whupt.net` int(11) NOT NULL DEFAULT '0',
`ourbits.club` int(11) NOT NULL DEFAULT '0'
Expand All @@ -50,7 +50,7 @@ CREATE TABLE `seed_list` (
`tracker.byr.cn` int(11) NOT NULL DEFAULT '0',
`npupt.com` int(11) NOT NULL DEFAULT '0',
`pt.nwsuaf6.edu.cn` int(11) NOT NULL DEFAULT '0',
`pttrackertju.tjupt.org` int(11) NOT NULL DEFAULT '0',
`pttracker6.tjupt.org` int(11) NOT NULL DEFAULT '0',
`hudbt.hust.edu.cn` int(11) NOT NULL DEFAULT '0',
`tracker.whupt.net` int(11) NOT NULL DEFAULT '0',
`ourbits.club` int(11) NOT NULL DEFAULT '0'
Expand Down

0 comments on commit 91aaca4

Please sign in to comment.