mirror of
				https://github.com/simon987/od-database.git
				synced 2025-10-31 13:46:52 +00:00 
			
		
		
		
	Should fix some odd http listings
This commit is contained in:
		
							parent
							
								
									cf51bb381c
								
							
						
					
					
						commit
						c5deafbea5
					
				| @ -180,7 +180,8 @@ class HttpDirectory(RemoteDirectory): | ||||
| 
 | ||||
|     @staticmethod | ||||
|     def _should_ignore(base_url, link: Anchor): | ||||
|         if link.text == "../" or link.href == "../" or link.href.endswith(HttpDirectory.BLACK_LIST): | ||||
|         if link.text == "../" or link.href == "../" or link.href == "./" \ | ||||
|                 or link.href.endswith(HttpDirectory.BLACK_LIST): | ||||
|             return True | ||||
| 
 | ||||
|         # Ignore external links | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user