mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-01 10:10:14 +00:00
reescreve urls de cache da wayback machine
This commit is contained in:
parent
25e349428a
commit
bd08939a5c
1 changed files with 3 additions and 0 deletions
|
@ -202,6 +202,9 @@ class URLAnalyzer
|
|||
// Remove o toolbar do Wayback Machine
|
||||
$content = preg_replace('/<!-- BEGIN WAYBACK TOOLBAR INSERT -->.*?<!-- END WAYBACK TOOLBAR INSERT -->/s', '', $content);
|
||||
|
||||
// Remove URLs de cache do Wayback Machine
|
||||
$content = preg_replace('/https?:\/\/web\.archive\.org\/web\/\d+im_\//', '', $content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue