Skip to content

S02-E06 pattern is parsed as release group instead of season/episode #25

Description

@nihaltp

S02-E06 pattern is parsed as release group instead of season/episode

Example

>>> import anitopy
>>> anitopy.parse('[S02-E06] Dan Da Dan [1080p] [Sub] @Ongoing_Anime_Clan.mkv')

Current Output

{
    'file_name': '[S02-E06] Dan Da Dan [1080p] [Sub] @Ongoing_Anime_Clan.mkv',
    'file_extension': 'mkv',
    'video_resolution': '1080p',
    'subtitles': 'Sub',
    'anime_title': 'Dan Da Dan',
    'release_group': 'S02-E06'
}

Expected Behavior

S02-E06 should ideally be detected as:

{
    'anime_season': 2,
    'episode_number': 6
}

instead of being classified as release_group.

Thanks for the project!

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