mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +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
|
@ -75,7 +75,7 @@ class TestDeviantartEngine(SearxTestCase):
|
|||
self.assertEqual(results[0]['title'], 'Title of image')
|
||||
self.assertEqual(results[0]['url'], 'http://url.of.result/2nd.part.of.url')
|
||||
self.assertNotIn('content', results[0])
|
||||
self.assertEqual(results[0]['thumbnail_src'], 'http://url.of.thumbnail')
|
||||
self.assertEqual(results[0]['thumbnail_src'], 'https://url.of.thumbnail')
|
||||
|
||||
html = """
|
||||
<span class="tt-fh-tc" style="width: 202px;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue