(.*?)<\/title>/', $html, $title_matches); if (isset($title_matches[1])) { $title = "► " . $title_matches[1]; if (strpos($title, "Padrão ") === 0 || strpos($title, "Cópia de ") === 0 || strpos($title, "PADRÃO ") === 0) { // verifica se o título começa com "Padrão" ou "Cóp de" continue; // pula para o próximo arquivo } } else { $title = "Título não encontrado"; } preg_match('/ $description, 'filename' => $filename); } } ksort($titles); foreach ($titles as $title => $data) { $url = "https://blessprotecaoveicular.com.br/" . $data['filename']; // URL correspondente ao domínio blessprotecaoveicular.com.br echo "

$title

{$data['description']}

{$data['filename']}

"; } ?>