This commit is contained in:
EstrellaXD
2023-05-10 16:28:25 +08:00
parent a000641b71
commit ceeca52603
8 changed files with 66 additions and 138 deletions

View File

@@ -30,6 +30,12 @@ def test_torrent_parser():
assert bf.episode == 1082
assert bf.season == 1
file_name = "海盗战记 (2019) S01E01.mp4"
bf = torrent_parser(file_name)
assert bf.title == "海盗战记 (2019)"
assert bf.episode == 1
assert bf.season == 1
file_name = "海盗战记/海盗战记 S01E01.mp4"
bf = torrent_parser(file_name)
assert bf.title == "海盗战记"