mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
btdigg search engine returns no results for, at least, russian queries #22
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iav on GitHub (Aug 14, 2012).
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)
@cdumez commented on GitHub (Aug 15, 2012):
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?
@cdumez commented on GitHub (Aug 15, 2012):
Also, please confirm that only Btdigg is affected.
@iav commented on GitHub (Aug 15, 2012):
qBittorrent v3.0.0, windows XP with all updates.
python... what are you talking about? :)
Search work ok in case I search for ascii-only strings.
Other engines seems not ok too, bit I don't know how they should work.
Corrently I use only btdigg engine;
I turn on all engines, and only thepiratebay gives me results.
@iav commented on GitHub (Aug 15, 2012):
Just test.
search for "сеченов" with thepiratebay.se engine enabled returns a lot of records - and most of them (I can't check much) seems completely unrelated. Same request via web site returns no records: http://thepiratebay.se/search/c%D0%B5%D1%87%D0%B5%D0%BD%D0%BE%D0%B2/0/99/0
@iav commented on GitHub (Aug 15, 2012):
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 ?
@sledgehammer999 commented on GitHub (Sep 15, 2012):
This is what I get:
Btdigg: no results
PirateBay: numerous results but when I search via the browser piratebay doesn't find anything.
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
@cdumez commented on GitHub (Sep 15, 2012):
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.
@sledgehammer999 commented on GitHub (Sep 15, 2012):
Can you tell me where should I loook in the source so I can test things?
@cdumez commented on GitHub (Sep 15, 2012):
@sledgehammer999 : Could you please test the following?
http://pastebin.ca/2204445
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.
@cdumez commented on GitHub (Sep 15, 2012):
@sledgehammer999 : Alternatively, you can checkout the "search_encoding_windows" branch in GIT. I pushed my patch proposal there.
@sledgehammer999 commented on GitHub (Sep 15, 2012):
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).
@cdumez commented on GitHub (Sep 15, 2012):
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:
http://btdigg.org/search?q=%D1%81%D0%B5%D1%87%D0%B5%D0%BD%D0%BE%D0%B2&p=0&order=1
@sledgehammer999 commented on GitHub (Sep 15, 2012):
I'll play around with nova.py but I am not good with python.
@fabriba commented on GitHub (Sep 3, 2014):
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.
Also, I tried to copy kickasstorrent.py inside the NOVA folder and edit it to point to katproxy.com instead the usual site, but it fails to be imported.
Thank you