1
0
mirror of https://github.com/moparisthebest/SickRage synced 2025-01-11 13:58:31 -05:00

Added a specific regex for horriblesubs

This commit is contained in:
Alexandre Beloin 2015-02-21 20:17:30 -05:00
parent fbcadb2780
commit 11d9d39027

View File

@ -198,6 +198,18 @@ normal_regexes = [
]
anime_regexes = [
('anime_horriblesubs',
# [HorribleSubs] Maria the Virgin Witch - 01 [720p].mkv
'''
^(?:\[(?P<release_group>HorribleSubs)\][\s\.])
(?:(?P<series_name>.+?)[\s\.]-[\s\.])
(?P<ep_ab_num>((?!(1080|720|480)[pi]))\d{1,3})
(-(?P<extra_ab_ep_num>((?!(1080|720|480)[pi])|(?![hx].?264))\d{1,3}))?
(?:v(?P<version>[0-9]))?
(?:[\w\.\s]*)
(?:(?:(?:[\[\(])(?P<extra_info>\d{3,4}[xp]?\d{0,4}[\.\w\s-]*)(?:[\]\)]))|(?:\d{3,4}[xp]))
.*?
'''),
('anime_ultimate',
"""
^(?:\[(?P<release_group>.+?)\][ ._-]*)