0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-11-14 21:32:43 +00:00

Update 'tool/irssi_cf_alturl.pl'

This commit is contained in:
unethical 2019-05-05 01:45:42 +00:00
parent 40110693ec
commit 3c6fef2a8e

View File

@ -187,7 +187,7 @@ sub GotUrl {
deb("$target Creating Short URL for $myurl");
$url = 'https://ux.nu/api/short?format=plain&url='.$myurl;
$browser = LWP::UserAgent->new;
$browser->agent("cloudflare-tor (Thank you for this service)");
$browser->agent("cloudflare-tor (Thank you for your service)");
$response = $browser->get($url);
$answer = $response->content;
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {