Skip to content

Commit

Permalink
RL as Audio
Browse files Browse the repository at this point in the history
  • Loading branch information
ccf-2012 committed Sep 1, 2023
1 parent 11ea3f7 commit 74d84d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tests/test_parseTorName.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ def test_parseTorName(test_input, e1, e2, e3, e4):
'TV', 'FRDS'),
('半暖时光.The.Memory.About.You.S01.2021.2160p.WEB-DL.AAC.H265-HDSWEB', 'TV',
'HDSWEB'),
('童年 - 高尔基 - 演播有声文学频道 - 完结 - 2019 - MP3 64kbps -RL', 'Audio', 'RL'),
('邪王挚宠:一品狂妃 - 欲念无罪 - 演播千瓣莲 - 2018 - AAC - 32kbps-RL4B', 'Audio', 'RL4B'),
('排球女将.Moero.Attack.1979.Complete.WEB-DL.1080p.H264.DDP.MP3.Mandarin&Japanese-OPS', 'TV', 'OPS'),
('The.Smurfs.2.2013.3Audio.DTS-HD.MA5.1.x265.10bit-BeiTai.mkv', 'MovieEncode', 'BeiTai'),
('Death.on.the.Nile.1978.1080p.BluRay.FLAC.2.0.x264-PTer.mkv', 'MovieEncode', 'PTer'),
Expand Down
3 changes: 1 addition & 2 deletions torcp/doubanapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

logger = logging.getLogger(__name__)

DOUBAN_API_KEY = '0ab215a8b1977939201640fa14c66bab'
DOUBAN_API_KEY = '???'

class DoubanApi:
def __init__(self, douban_api_key, ccfcat_hard=None):
Expand Down Expand Up @@ -112,7 +112,6 @@ def getSubjectPageKeyword(self):

if __name__ == '__main__':
d1 = DoubanApi(DOUBAN_API_KEY)
imdb_id =
d1.searchDoubanByIMDb(imdb_id)
d1.getSubjectPageKeyword()

Expand Down
2 changes: 1 addition & 1 deletion torcp/torcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class TorCategory:
# 有些组专门生产 MV
MV_GROUPS = ['PTerMV', 'FHDMv', 'Melon', 'HaresMV', 'Bugs!']
# 有些组专门生产 Audio
AUDIO_GROUPS = ['PTHAudio', 'HDSAB']
AUDIO_GROUPS = ['PTHAudio', 'HDSAB', 'RL', 'RL4B', 'iYY', 'M4A', 'YXY']
# 有些组专门作压制,但是不在种子名上标记
MOVIE_ENCODE_GROUPS = ['CMCT', 'FRDS']

Expand Down

0 comments on commit 74d84d3

Please sign in to comment.