mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
Support 8 digit IMDB ID's (#6101)
Currently receive `Incorrect parameter: invalid imdbid format` when searching for content which uses an 8 digit IMDB id.
This commit is contained in:
parent
3fb26627b1
commit
b7daad903f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace Jackett.Common.Utils
|
|||
new Regex(
|
||||
@"(?<![\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F\uFEFF\uFFFE\uFFFF]",
|
||||
RegexOptions.Compiled);
|
||||
private static readonly Regex ImdbId = new Regex(@"^(?:tt)?(\d{1,7})$", RegexOptions.Compiled);
|
||||
private static readonly Regex ImdbId = new Regex(@"^(?:tt)?(\d{1,8})$", RegexOptions.Compiled);
|
||||
|
||||
public static string NormalizeSpace(string s)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue