mirror of
https://github.com/searxng/searxng.git
synced 2025-07-22 20:59:16 +02:00
[fix] google markup change - closes #489
This commit is contained in:
parent
44c7eac958
commit
66f48c2bf5
2 changed files with 12 additions and 12 deletions
|
@ -40,7 +40,7 @@ class TestGoogleEngine(SearxTestCase):
|
|||
self.assertEqual(google.response(response), [])
|
||||
|
||||
html = """
|
||||
<li class="g">
|
||||
<div class="g">
|
||||
<h3 class="r">
|
||||
<a href="http://this.should.be.the.link/">
|
||||
<b>This</b> is <b>the</b> title
|
||||
|
@ -94,35 +94,35 @@ class TestGoogleEngine(SearxTestCase):
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="g">
|
||||
</div>
|
||||
<div class="g">
|
||||
<h3 class="r">
|
||||
<a href="http://www.google.com/images?q=toto">
|
||||
<b>This</b>
|
||||
</a>
|
||||
</h3>
|
||||
</li>
|
||||
<li class="g">
|
||||
</div>
|
||||
<div class="g">
|
||||
<h3 class="r">
|
||||
<a href="http://www.google.com/search?q=toto">
|
||||
<b>This</b> is
|
||||
</a>
|
||||
</h3>
|
||||
</li>
|
||||
<li class="g">
|
||||
</div>
|
||||
<div class="g">
|
||||
<h3 class="r">
|
||||
<a href="€">
|
||||
<b>This</b> is <b>the</b>
|
||||
</a>
|
||||
</h3>
|
||||
</li>
|
||||
<li class="g">
|
||||
</div>
|
||||
<div class="g">
|
||||
<h3 class="r">
|
||||
<a href="/url?q=url">
|
||||
<b>This</b> is <b>the</b>
|
||||
</a>
|
||||
</h3>
|
||||
</li>
|
||||
</div>
|
||||
<p class="_Bmc" style="margin:3px 8px">
|
||||
<a href="/search?num=20&safe=off&q=t&revid=1754833769&sa=X&ei=-&ved=">
|
||||
suggestion <b>title</b>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue