Fix potential issues with psn scraper

This commit is contained in:
13xforever 2018-10-08 22:23:19 +05:00 committed by Roberto Anić Banić
parent 6e37e9920f
commit a23b376195

View File

@ -368,6 +368,10 @@ namespace CompatBot.ThumbScrapper
}
else if (!string.IsNullOrEmpty(url))
{
if (string.IsNullOrEmpty(savedItem.Url))
savedItem.Url = url;
if (string.IsNullOrEmpty(savedItem.Name) && !string.IsNullOrEmpty(name))
savedItem.Name = name;
if (!ScrapeStateProvider.IsFresh(savedItem.Timestamp))
{
if (savedItem.Url != url)