Skip to content

Anitopy fails to properly parse a filename if either anime_title or episode_title starts with/contains a single letter followed by delimiter #24

Description

@Nubuki-all
import anitopy
anitopy.parse("I.May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv")

anitopy.parse("May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv")
  • {'file_name': 'I.May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv', 'file_extension': 'mkv', 'video_term': 'H.264', 'video_resolution': '1080p', 'anime_title': 'I.May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.'}

  • {'file_name': 'May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv', 'file_extension': 'mkv', 'video_term': 'H.264', 'video_resolution': '1080p', 'anime_season': '01', 'episode_number': '01', 'anime_title': 'May Be.a Guild Receptionist but Ill Solo Any Boss to Clock Out on Time', 'episode_title': 'CR WEB-DL AAC2.0'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions