0
0
mirror of https://git.sdf.org/deCloudflare/cloudflare-tor synced 2024-12-27 12:52:32 +01:00

Update 'tool/irssi_cf_alturl.pl'

This commit is contained in:
J0NA8_Fz 2020-05-19 11:02:14 +02:00
parent 9664160253
commit 2f214ad63b

View File

@ -270,7 +270,7 @@ sub GotUrl {
$url =
'https://ux.nu/api/short?format=plain&url=' . $myurl;
$browser = LWP::UserAgent->new;
$browser->agent("Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0");
$browser->agent("Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101 Firefox/78.0");
$response = $browser->get($url);
$answer = $response->content;
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {