Polish for Release (#2357)
This commit is contained in:
parent
b0eb60e894
commit
05bcc3e88e
11 changed files with 39 additions and 29 deletions
|
|
@ -678,6 +678,8 @@ public class SeriesService : ISeriesService
|
|||
.OrderBy(c => c.CreatedUtc)
|
||||
.ToList();
|
||||
|
||||
if (chapters.Count < 3) return _emptyExpectedChapter;
|
||||
|
||||
// Calculate the time differences between consecutive chapters
|
||||
var timeDifferences = new List<TimeSpan>();
|
||||
DateTime? previousChapterTime = null;
|
||||
|
|
|
|||
|
|
@ -321,6 +321,10 @@ public static class Parser
|
|||
new Regex(
|
||||
@"(?<Series>.*)( ?- ?)Ch\.\d+-?\d*",
|
||||
MatchOptions, RegexTimeout),
|
||||
// Korean catch all for symbols 죠시라쿠! 2년 후 1권
|
||||
new Regex(
|
||||
@"^(?!Vol)(?!Chapter)(?<Series>.+?)(-|_|\s|#)\d+(-\d+)?(권|화|話)",
|
||||
MatchOptions, RegexTimeout),
|
||||
// [BAA]_Darker_than_Black_Omake-1, Bleach 001-002, Kodoja #001 (March 2016)
|
||||
new Regex(
|
||||
@"^(?!Vol)(?!Chapter)(?<Series>.+?)(-|_|\s|#)\d+(-\d+)?",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue