Private GIT

Skip to content
Snippets Groups Projects
Commit 3ea45e19 authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1513 from abeloin/patch_regex_anime_kaerizaki

Added Kaerizaki-Fansub regex
parents 7f7f1edc 92eb800d
No related branches found
No related tags found
No related merge requests found
...@@ -221,8 +221,24 @@ anime_regexes = [ ...@@ -221,8 +221,24 @@ anime_regexes = [
(?:(?:(?:[\[\(])(?P<extra_info>\d{3,4}[xp]?\d{0,4}[\.\w\s-]*)(?:[\]\)]))|(?:\d{3,4}[xp])) (?:(?:(?:[\[\(])(?P<extra_info>\d{3,4}[xp]?\d{0,4}[\.\w\s-]*)(?:[\]\)]))|(?:\d{3,4}[xp]))
(?:[ ._]?\[(?P<crc>\w+)\])? (?:[ ._]?\[(?P<crc>\w+)\])?
.*? .*?
""" """),
),
('anime_Kaerizaki-Fansub',
# [Kaerizaki-Fansub]_One_Piece_679_[VOSTFR][HD_1280x720].mp4
# [Kaerizaki-Fansub]_One_Piece_681_[VOSTFR][HD_1280x720]_V2.mp4
# [Kaerizaki-Fansub] High School DxD New 04 VOSTFR HD (1280x720) V2.mp4
# [Kaerizaki-Fansub] One Piece 603 VOSTFR PS VITA (960x544) V2.mp4
'''
^\[(?P<release_group>Kaerizaki-Fansub?)\][ ._-]* # Release Group and separator
(?P<series_name>.+?)[ ._-]+ # Show_Name and separator
(?P<ep_ab_num>((?!\[VOSTFR|VOSTFR))\d{1,3}) # Episode number
(-(?P<extra_ab_ep_num>((?!\[VOSTFR|VOSTFR))\d{1,3}))? # Extra episode number
([ ._](\[VOSTFR\]|VOSTFR))?
(\[|[ ._])?(?P<extra_info>([SH]D_\d{3,4}x\d{3,4}|((SD|HD|PS\sVITA)[ ._]\(\d{3,4}x\d{3,4}\))))(\])? # Extra info
([ ._][vV](?P<version>[0-9]))? # Version
.*? # Separator and EOL
'''),
('anime_standard', ('anime_standard',
# [Group Name] Show Name.13-14 # [Group Name] Show Name.13-14
# [Group Name] Show Name - 13-14 # [Group Name] Show Name - 13-14
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment