diff --git a/CHANGES.md b/CHANGES.md index 4c606c4a..426c3343 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.12.33 (2017-10-12 13:00:00 UTC) +### 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 d4cfcb31..6748d1a4 100644 --- a/sickbeard/providers/tvchaosuk.py +++ b/sickbeard/providers/tvchaosuk.py @@ -165,7 +165,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: