-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btdigg search engine returns no results for, at least, russian queries #29
Comments
I have just tried here and it shows results for "сеченов" on my machine. I'm running qBittorrent v3.0.0 on Mac OS X. Which version of qBittorrent and Python are you using? What is your operating system? |
Also, please confirm that only Btdigg is affected. |
qBittorrent v3.0.0, windows XP with all updates. Search work ok in case I search for ascii-only strings. |
Just test. |
Sorry, I can't remember when, where and why i install python to this computer... But I have a python separattely - 2.7.3. What should I do ? |
This is what I get: Btdigg: no results Maybe the engines don't handle correctly the utf encoding or is the string passed to them with the wrong encoding? qbt 3.0.2 python 2.7.3 Windows XP |
Yes, my guess is that we pass the wrong encoding at some point. We should pass UTF-8 but we likely use local8Bit instead. I cannot reproduce on Linux or Mac because the system uses UTF-8. |
Can you tell me where should I loook in the source so I can test things? |
@sledgehammer999 : Could you please test the following? It is inspired from http://bugs.python.org/issue2128#msg125827 I believe this is the bug we are encountering on Windows. I'm unable to test the code though. |
@sledgehammer999 : Alternatively, you can checkout the "search_encoding_windows" branch in GIT. I pushed my patch proposal there. |
I had to manually copy the new nova.py because qbt kept creating the old nova.py With the new nova.py: I get results from btdigg. The results are 8 but in the browser search they fill 14 pages. Also I cannot confirm if they are correct results. I now don't get any result from piratebay(as intended). |
Hmm, I get 100 results for "сеченов" on Mac OS X. If you get 8 on Windows, something is still wrong. I get exactly the same results as: |
I'll play around with nova.py but I am not good with python. |
Any news on this topic? HAving the same problem, win 8.1, installed latest qbittorrent and latest python (shall I install latest 2.7.8 or the one bundled with qbittorrent 2.7.3?) Only mininova and legittorrent work, some other are banned by me being in europe, but some should really work, as they do via browser. Thank you |
btdigg search engine returns no results for, at least, russian queries.
Compare results of search for "сеченов" inside qbittorrent (no results), and on site itself http://btdigg.org/search?info_hash=&q=%D1%81%D0%B5%D1%87%D0%B5%D0%BD%D0%BE%D0%B2 (17 pages)
The text was updated successfully, but these errors were encountered: