mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-11-14 13:22:39 +00:00
Update 'tool/irssi_cf_alturl.pl'
This commit is contained in:
parent
40110693ec
commit
3c6fef2a8e
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user