mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-20 11:50:51 +02:00
Fixed: Parsing of 8 digit IMDb Ids
This commit is contained in:
parent
e94c8839f6
commit
9331d8e013
1 changed files with 3 additions and 1 deletions
|
|
@ -93,7 +93,9 @@ public static string GetFullImdbId(string imdbstr)
|
|||
return null;
|
||||
}
|
||||
|
||||
return "tt" + ((int)imdbid).ToString("D7");
|
||||
var imdbLen = ((int)imdbid > 9999999) ? "D8" : "D7";
|
||||
|
||||
return "tt" + ((int)imdbid).ToString(imdbLen);
|
||||
}
|
||||
|
||||
public static string GetArgumentFromQueryString(string url, string argument)
|
||||
|
|
|
|||
Loading…
Reference in a new issue