mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-09 02:26:38 +00:00
Use added date for empty page checks
This commit is contained in:
@@ -731,8 +731,12 @@ namespace SabreTools.RedumpLib.Web
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check the added date as a backup
|
||||
oldResult = Constants.AddedRegex.Match(oldDiscPage);
|
||||
newResult = Constants.AddedRegex.Match(discPage);
|
||||
|
||||
// If the downloaded data is invalid or otherwise empty, skip it
|
||||
else if (oldResult.Success && !newResult.Success)
|
||||
if (oldResult.Success && !newResult.Success)
|
||||
{
|
||||
Console.WriteLine($"ID {paddedId} retieved an empty page, skipping...");
|
||||
return false;
|
||||
@@ -910,8 +914,12 @@ namespace SabreTools.RedumpLib.Web
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check the added date as a backup
|
||||
oldResult = Constants.AddedRegex.Match(oldDiscPage);
|
||||
newResult = Constants.AddedRegex.Match(discPage);
|
||||
|
||||
// If the downloaded data is invalid or otherwise empty, skip it
|
||||
else if (oldResult.Success && !newResult.Success)
|
||||
if (oldResult.Success && !newResult.Success)
|
||||
{
|
||||
Console.WriteLine($"ID {paddedId} retieved an empty page, skipping...");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user