From 040e24f9adfdc13e70ba21271dee2b6edfd866c7 Mon Sep 17 00:00:00 2001 From: ta Date: Wed, 24 Aug 2022 16:48:31 +0700 Subject: [PATCH] support playing videos directly --- searx/engines/9gag.py | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/engines/9gag.py b/searx/engines/9gag.py index 6482ca811..5c0f54c26 100644 --- a/searx/engines/9gag.py +++ b/searx/engines/9gag.py @@ -60,6 +60,7 @@ def response(resp): 'content': result['description'], 'publishedDate': datetime.utcfromtimestamp(result['creationTs']), 'thumbnail': result['images']['imageFbThumbnail']['url'], + 'iframe_src': result['images'].get('image460sv', {}).get('url'), } )