mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-27 03:51:03 +08:00
Close #163
This commit is contained in:
@@ -34,3 +34,20 @@ def test_raw_parser():
|
||||
assert info.resolution == "1080p"
|
||||
assert info.episode == 9
|
||||
assert info.season == 1
|
||||
|
||||
content = "[梦蓝字幕组]New Doraemon 哆啦A梦新番[747][2023.02.25][AVC][1080P][GB_JP][MP4]"
|
||||
info = parser.analyse(content)
|
||||
assert info.group == "梦蓝字幕组"
|
||||
assert info.title_zh == "哆啦A梦新番"
|
||||
assert info.title_en == "New Doraemon"
|
||||
assert info.resolution == "1080P"
|
||||
assert info.episode == 747
|
||||
assert info.season == 1
|
||||
|
||||
content = "[织梦字幕组][尼尔:机械纪元 NieR Automata Ver1.1a][02集][1080P][AVC][简日双语]"
|
||||
info = parser.analyse(content)
|
||||
assert info.group == "织梦字幕组"
|
||||
assert info.title_zh == "尼尔:机械纪元 NieR Automata Ver1.1a"
|
||||
assert info.resolution == "1080P"
|
||||
assert info.episode == 2
|
||||
assert info.season == 1
|
||||
|
||||
Reference in New Issue
Block a user