diff --git a/src/NzbDrone.Core.Test/ParserTests/UrlFixture.cs b/src/NzbDrone.Core.Test/ParserTests/UrlFixture.cs index e99c6a419..f261531a0 100644 --- a/src/NzbDrone.Core.Test/ParserTests/UrlFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/UrlFixture.cs @@ -22,6 +22,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("[www.test-hyphen.ca] - Movie Title (2023)", "Movie Title")] [TestCase("test123.ca - Movie Time 2023 720p HDTV x264 CRON", "Movie Time")] [TestCase("[www.test-hyphen123.co.za] - Movie Title 2023", "Movie Title")] + [TestCase("(movieawake.com) Movie Title 2023 [720p] [English Subbed]", "Movie Title")] public void should_not_parse_url_in_name(string postTitle, string title) { var result = Parser.Parser.ParseMovieTitle(postTitle).MovieTitle.CleanMovieTitle(); diff --git a/src/NzbDrone.Core/Parser/Parser.cs b/src/NzbDrone.Core/Parser/Parser.cs index 16ac26c9d..918e5f876 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -121,7 +121,7 @@ namespace NzbDrone.Core.Parser private static readonly Regex SimpleReleaseTitleRegex = new Regex(@"\s*(?:[<>?*|])", RegexOptions.Compiled | RegexOptions.IgnoreCase); // Valid TLDs http://data.iana.org/TLD/tlds-alpha-by-domain.txt - private static readonly RegexReplace WebsitePrefixRegex = new RegexReplace(@"^(?:\[\s*)?(?:www\.)?[-a-z0-9-]{1,256}\.(?