[fix] findthatmeme engine URLs have changed
This commit is contained in:
		
							parent
							
								
									78f5300830
								
							
						
					
					
						commit
						ecd94fc28a
					
				@ -35,8 +35,8 @@ def response(resp):
 | 
				
			|||||||
    results = []
 | 
					    results = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for item in search_res:
 | 
					    for item in search_res:
 | 
				
			||||||
        img = 'https://findthatmeme.us-southeast-1.linodeobjects.com/' + item['image_path']
 | 
					        img = 'https://s3.thehackerblog.com/findthatmeme/' + item['image_path']
 | 
				
			||||||
        thumb = 'https://findthatmeme.us-southeast-1.linodeobjects.com/thumb/' + item.get('thumbnail', '')
 | 
					        thumb = 'https://s3.thehackerblog.com/findthatmeme/thumb/' + item.get('thumbnail', '')
 | 
				
			||||||
        date = datetime.strptime(item["updated_at"].split("T")[0], "%Y-%m-%d")
 | 
					        date = datetime.strptime(item["updated_at"].split("T")[0], "%Y-%m-%d")
 | 
				
			||||||
        formatted_date = datetime.utcfromtimestamp(date.timestamp())
 | 
					        formatted_date = datetime.utcfromtimestamp(date.timestamp())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user