Skip to content

Commit

Permalink
fix(number): 全数字番号均被识别为无码 (sqzw-x#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Mar 1, 2024
1 parent 828e29e commit f568ada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/base/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def is_uncensored(number):
if re.match(r'^\d{4,}', number) or re.match(r'n\d{4}', number) or re.search(r'[^.]+\.\d{2}\.\d{2}\.\d{2}', number):
if re.match(r'n\d{4}', number) or re.search(r'[^.]+\.\d{2}\.\d{2}\.\d{2}', number):
return True

# 无码车牌BT,CT,EMP,CCDV,CWP,CWPBD,DSAM,DRC,DRG,GACHI,heydouga,JAV,LAF,LAFBD,HEYZO,KTG,KP,KG,LLDV,MCDV,MKD,MKBD,MMDV,NIP,PB,PT,QE,RED,RHJ,S2M,SKY,SKYHD,SMD,SSDV,SSKP,TRG,TS,xxx-av,YKB
Expand Down
3 changes: 2 additions & 1 deletion src/models/crawlers/getchu.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ def main(number, appoint_url='', log_info='', req_web='', language='jp'):
# print(main('コンビニ○○Z 第三話 あなた、ヤンクレママですよね。旦那に万引きがバレていいんですか?'))
# print(main('dokidokiりとる大家さん お家賃6突き目 妖しい踊りで悪霊祓い!『婦警』さんのきわどいオシオキ'))
# print(main('[PoRO]エロコンビニ店長 泣きべそ蓮っ葉・栞~お仕置きじぇらしぃナマ逸機~'))
print(main('人妻、蜜と肉 第二巻[月野定規]'))
print(main('4562215333534'))
# print(main('人妻、蜜と肉 第二巻[月野定規]'))
# print(main('ACHDL-1159'))
# print(main('好きにしやがれ GOTcomics')) # 書籍,没有番号
# print(main('あまあまロ●ータ女装男子レズ キス・フェラ・69からの3P介入'))
Expand Down

0 comments on commit f568ada

Please sign in to comment.