mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-19 09:02:32 +00:00
Fix potential issues with psn scraper
This commit is contained in:
parent
6e37e9920f
commit
a23b376195
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user