mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-26 22:01:58 +08:00
Fix #247
This commit is contained in:
@@ -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 == "海盗战记"
|
||||
|
||||
Reference in New Issue
Block a user