Skip to content

Commit

Permalink
Fix:#332
Browse files Browse the repository at this point in the history
  • Loading branch information
musnow authored Jul 3, 2024
1 parent 8080525 commit 475a888
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/avid.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def get_id(filepath: str) -> str:
return match.group(1) + '-' + match.group(2)
# 尝试匹配TMA制作的影片(如'T28-557',他家的番号很乱)
match = re.search(r'(T28[-_]\d{3})', filename)
if match:
return match.group(1)
match = re.search(r'(T38[-_]\d{3})', filename)
if match:
return match.group(1)
# 尝试匹配东热n, k系列
Expand Down

0 comments on commit 475a888

Please sign in to comment.