]*" +
@"data-id=""(\d+)""[^>]*" +
@"data-url=""([^""]+)""[^>]*" +
@"data-freq=""(\d+)""[^>]*" +
@"(?:data-credit=""(\d+)"")?[^>]*" +
@"(?:data-credit-value=""(\d+)"")?[^>]*" +
@"(?:data-id-product=""(\d+)"")?",
RegexOptions.IgnoreCase | RegexOptions.Singleline);
// Pattern alternativo più semplice per catturare attributi
var simplePattern = new Regex(
@"
]+id=""divAsta(\d+)""[^>]*>",
RegexOptions.IgnoreCase);
var divMatches = simplePattern.Matches(html);
foreach (Match divMatch in divMatches)
{
if (!divMatch.Success) continue;
var auctionId = divMatch.Groups[1].Value;
// Trova il blocco completo dell'asta
var startIndex = divMatch.Index;
var endPattern = @"";
var endIndex = html.IndexOf(endPattern, startIndex);
if (endIndex < 0) endIndex = html.IndexOf("