summaryrefslogtreecommitdiff
path: root/searx/engines/9gag.py
diff options
context:
space:
mode:
authorta <alt3753.7@gmail.com>2022-08-24 16:48:31 +0700
committerta <alt3753.7@gmail.com>2022-08-24 16:48:31 +0700
commit040e24f9adfdc13e70ba21271dee2b6edfd866c7 (patch)
tree91ea19e61eb7181fa762fad10d41cda25772a375 /searx/engines/9gag.py
parent79d06509c13699dcf498cd8f048f76a71536a321 (diff)
downloadsearxng-040e24f9adfdc13e70ba21271dee2b6edfd866c7.tar.gz
searxng-040e24f9adfdc13e70ba21271dee2b6edfd866c7.zip
support playing videos directly
Diffstat (limited to 'searx/engines/9gag.py')
-rw-r--r--searx/engines/9gag.py1
1 files changed, 1 insertions, 0 deletions
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'),
}
)