fix replace in x
This commit is contained in:
		
							parent
							
								
									493dfcbb10
								
							
						
					
					
						commit
						8f76166fde
					
				| @ -5,7 +5,8 @@ use curl::easy::Easy; | |||||||
| static URLS: phf::Map<&'static str, &'static str> = phf_map! { | static URLS: phf::Map<&'static str, &'static str> = phf_map! { | ||||||
|     "www.tiktok.com" => "vxtiktok.com", |     "www.tiktok.com" => "vxtiktok.com", | ||||||
|     "vm.tiktok.com" => "vxtiktok.com", |     "vm.tiktok.com" => "vxtiktok.com", | ||||||
|     "x.com" => "fxtwitter.com", |     "https://x.com" => "https://fxtwitter.com", | ||||||
|  |     "https://fxtwitter.com" => "https://fxtwitter.com", | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| pub fn filter_string(url: String, domain: String) -> Option<String> { | pub fn filter_string(url: String, domain: String) -> Option<String> { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user