diff --git a/CHANGES.md b/CHANGES.md index 312e8f49..f553c159 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -135,6 +135,11 @@ * Fix error after SG is updated and where Slack notifier is not enabled +### 0.12.34 (2017-10-25 15:20:00 UTC) + +* Change improve TVChaos parser + + ### 0.12.33 (2017-10-12 13:00:00 UTC) * Change improve handling of torrent auth failures diff --git a/sickbeard/providers/tvchaosuk.py b/sickbeard/providers/tvchaosuk.py index 8bbf23a4..0f96f197 100644 --- a/sickbeard/providers/tvchaosuk.py +++ b/sickbeard/providers/tvchaosuk.py @@ -164,7 +164,7 @@ class TVChaosUKProvider(generic.TorrentProvider): for yr in years: title = re.sub('\{\{yr\}\}', yr, title, count=1) - date_re = '(?i)([(\s]*)((?:\d+\s)?)([adfjmnos]\w{2,}\s+)((?:19|20)\d\d)([)\s]*)' + date_re = '(?i)([(\s.]*)((?:\d+[\s.]*(?:st|nd|rd|th)?[\s.])?)([adfjmnos]\w{2,}[\s.]+)((?:19|20)\d\d)([)\s.]*)' dated = re.findall(date_re, title) dnew = None for d in dated: