mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05:00
Merge branch 'origin/dev'
This commit is contained in:
commit
03722bcc3e
@ -130,11 +130,9 @@ class NameParser(object):
|
|||||||
|
|
||||||
if 'series_name' in named_groups:
|
if 'series_name' in named_groups:
|
||||||
result.series_name = match.group('series_name')
|
result.series_name = match.group('series_name')
|
||||||
if not result.series_name:
|
if result.series_name:
|
||||||
continue
|
result.series_name = self.clean_series_name(result.series_name)
|
||||||
|
result.score += 1
|
||||||
result.series_name = self.clean_series_name(result.series_name)
|
|
||||||
result.score += 1
|
|
||||||
|
|
||||||
if 'season_num' in named_groups:
|
if 'season_num' in named_groups:
|
||||||
tmp_season = int(match.group('season_num'))
|
tmp_season = int(match.group('season_num'))
|
||||||
@ -182,7 +180,7 @@ class NameParser(object):
|
|||||||
result.sports_event_date = parser.parse(sports_event_date, fuzzy=True).date()
|
result.sports_event_date = parser.parse(sports_event_date, fuzzy=True).date()
|
||||||
result.score += 1
|
result.score += 1
|
||||||
except:
|
except:
|
||||||
continue
|
pass
|
||||||
|
|
||||||
if 'air_year' in named_groups and 'air_month' in named_groups and 'air_day' in named_groups:
|
if 'air_year' in named_groups and 'air_month' in named_groups and 'air_day' in named_groups:
|
||||||
year = int(match.group('air_year'))
|
year = int(match.group('air_year'))
|
||||||
|
Loading…
Reference in New Issue
Block a user