mirror of
https://github.com/searxng/searxng.git
synced 2025-08-31 23:46:49 +02:00
[enh] reduce the number of http outgoing connections.
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
This commit is contained in:
parent
bbd83f5a51
commit
78edc16e66
10 changed files with 25 additions and 10 deletions
|
@ -65,7 +65,7 @@ class TestGoogleImagesEngine(SearxTestCase):
|
|||
self.assertEqual(len(results), 1)
|
||||
self.assertEqual(results[0]['title'], 'This is the title')
|
||||
self.assertEqual(results[0]['url'], 'http://this.is.the.url')
|
||||
self.assertEqual(results[0]['thumbnail_src'], 'http://thumbnail.url')
|
||||
self.assertEqual(results[0]['thumbnail_src'], 'https://thumbnail.url')
|
||||
self.assertEqual(results[0]['img_src'], 'http://image.url.jpg')
|
||||
self.assertEqual(results[0]['content'], '<b>test</b>')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue