on master help sign in
btdigg engine: fix text mojibake.

Seeing on the official instance, searching with non-ascii character usually renders mojibake non-sense: http://searx.me/?q=%E9%A3%9F%E5%A0%82&categories=files Screenshot with broken: ![](https://imgrush.com/1NNr_Rpv-rt2.png) Screenshot of the fixed rendering: ![](https://imgrush.com/khe4M2P3VAyq.png)

commit01d2fb9f703fee2a28cdb4c6583158054f9d7558 authorKang-min Liu <gugod@gugod.org> dateSun 19 Jul 2015, 20:44 (11 years ago) parenta905e4e
1 file changed+1−1
searx/engines/btdigg.py+1−1
searx/engines/btdigg.py+1−1
@@ -38,7 +38,7 @@ def request(query, params):
3838def response(resp):
3939 results = []
4040
41− dom = html.fromstring(resp.text)
41+ dom = html.fromstring(resp.content)
4242
4343 search_res = dom.xpath('//div[@id="search_res"]/table/tr')
4444