This commit is contained in:
oliver
2026-08-28 10:11:11 -03:00
parent f533ff8e36
commit 585951c8ce
1380 changed files with 1540268 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
$repo = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
$excludePattern = '\\(\.git|node_modules|seo-audit-2026-05-27|website|directory)\\'
$files = Get-ChildItem $repo -Recurse -Filter index.html -File -ErrorAction SilentlyContinue |
Where-Object { $_.FullName -notmatch $excludePattern }
$matched = @()
foreach ($file in $files) {
$c = [System.IO.File]::ReadAllText($file.FullName)
if (-not $c) { continue }
if ($c -match '"(?:url|item|@id|logo)":\s*"https://odoo-expertos\.com') {
$matched += $file.FullName
}
}
Write-Host "Matched count: $($matched.Count)"
$matched | Select-Object -First 3 | ForEach-Object { Write-Host $_ }
if ($matched.Count -gt 0) {
$c = [System.IO.File]::ReadAllText($matched[0])
$m = [regex]::Match($c, '"(?:url|item|@id|logo)":\s*"https://odoo-expertos\.com[^"]*"')
Write-Host "---SAMPLE MATCH---"
Write-Host $m.Value
}