mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-30 18:22:31 -04:00 
			
		
		
		
	[fix] library genesis engine: xpath and url
Changed the xpath to use the official download mirror. Changed the URL to libgen.fun as this is the official instance. (https://en.wikipedia.org/wiki/Library_Genesis)
This commit is contained in:
		
							parent
							
								
									d502e7d403
								
							
						
					
					
						commit
						02026bcc76
					
				| @ -813,8 +813,8 @@ engines: | ||||
| 
 | ||||
|   - name: library genesis | ||||
|     engine: xpath | ||||
|     search_url: https://libgen.rs/search.php?req={query} | ||||
|     url_xpath: //a[contains(@href,"bookfi.net/md5")]/@href | ||||
|     search_url: https://libgen.fun/search.php?req={query} | ||||
|     url_xpath: //a[contains(@href,"get.php?md5")]/@href | ||||
|     title_xpath: //a[contains(@href,"book/")]/text()[1] | ||||
|     content_xpath: //td/a[1][contains(@href,"=author")]/text() | ||||
|     categories: files | ||||
| @ -822,7 +822,7 @@ engines: | ||||
|     disabled: true | ||||
|     shortcut: lg | ||||
|     about: | ||||
|       website: https://libgen.rs/ | ||||
|       website: https://libgen.fun/ | ||||
|       wikidata_id: Q22017206 | ||||
|       official_api_documentation: | ||||
|       use_official_api: false | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user