mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-11-14 21:32:43 +00:00
(^CN in irssi)
This commit is contained in:
parent
da82749679
commit
8de9515bbe
@ -145,7 +145,7 @@ sub GotUrl {
|
|||||||
## ACT1: Update URL if Cloudflared
|
## ACT1: Update URL if Cloudflared
|
||||||
if ( grep( /^$fqdn$/, @cached ) ) {
|
if ( grep( /^$fqdn$/, @cached ) ) {
|
||||||
deb("$target Found in Cache $fqdn");
|
deb("$target Found in Cache $fqdn");
|
||||||
$mytype = '^B^K3[Archive^O] ';
|
$mytype = '^B^C3[Archive]^O ';
|
||||||
$myurl = 'https://web.archive.org/web/' . $myurl;
|
$myurl = 'https://web.archive.org/web/' . $myurl;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -165,7 +165,7 @@ sub GotUrl {
|
|||||||
|
|
||||||
if ( $ifoundit == 1 ) {
|
if ( $ifoundit == 1 ) {
|
||||||
push( @cached, $fqdn );
|
push( @cached, $fqdn );
|
||||||
$mytype = '^B^K3[Archive^O] ';
|
$mytype = '^B^C3[Archive]^O ';
|
||||||
$myurl = 'https://web.archive.org/web/' . $myurl;
|
$myurl = 'https://web.archive.org/web/' . $myurl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -179,7 +179,7 @@ sub GotUrl {
|
|||||||
$answer = $response->content;
|
$answer = $response->content;
|
||||||
if ( $answer eq '[true,true]' ) {
|
if ( $answer eq '[true,true]' ) {
|
||||||
push( @cached, $fqdn );
|
push( @cached, $fqdn );
|
||||||
$mytype = '^B^K3[Archive^O] ';
|
$mytype = '^B^C3[Archive]^O ';
|
||||||
$myurl = 'https://web.archive.org/web/' . $myurl;
|
$myurl = 'https://web.archive.org/web/' . $myurl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -195,7 +195,7 @@ sub GotUrl {
|
|||||||
$response = $browser->get($url);
|
$response = $browser->get($url);
|
||||||
$answer = $response->content;
|
$answer = $response->content;
|
||||||
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {
|
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {
|
||||||
$mytype = '^B^K7[Short^O] ';
|
$mytype = '^B^C7[Short]^O ';
|
||||||
$myurl = $answer;
|
$myurl = $answer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user