Merge branch 'master' into develop

This commit is contained in:
JackDandy 2017-10-25 16:14:01 +01:00
commit 5299dd3702
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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: