Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/f90b43b3e1c7d938eaaf290148b488d3b814968a You should set ROOT_URL correctly, otherwise the web may not work correctly.

Simplify parsing IMDb and TMDb urls as search terms

pull/10545/head
Bogdan 6 months ago
parent 64122b4cfb
commit f90b43b3e1

@ -406,14 +406,16 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
{
try
{
var match = new Regex("^https://www.imdb.com/title/(tt[0-9]+).*?$").Match(title);
var match = new Regex(@"\bimdb\.com/title/(tt\d{7,})\b", RegexOptions.IgnoreCase).Match(title);
if (match.Success)
{
title = "imdb:" + match.Groups[1].Value;
}
else
{
match = new Regex("^https://www.themoviedb.org/movie/([0-9]+).*$").Match(title);
match = new Regex(@"\bthemoviedb\.org/movie/(\d+)\b", RegexOptions.IgnoreCase).Match(title);
if (match.Success)
{
title = "tmdb:" + match.Groups[1].Value;

Loading…
Cancel
Save