mirror of
				https://codeberg.org/crimeflare/cloudflare-tor
				synced 2025-11-04 02:17:00 +01:00 
			
		
		
		
	Update 'tool/irssi_cf_alturl.pl'
This commit is contained in:
		
							parent
							
								
									40110693ec
								
							
						
					
					
						commit
						3c6fef2a8e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		
		Reference in a new issue