Closed MaZZly closed 8 years ago
I made a Python 3 fork that takes care of this bug (because Python 3 is awesome like that): https://github.com/evanmiltenburg/py-bing-search
result = bing.search("olá", limit=50, format='json') result ([LIST OF RESULTS], "https://api.datamarket.azure.com/Data.ashx/Bing/Search/Web?Query='ol%C3%A1'&$skip=50&$top=50")
The relevant commit is this one. There's also another python 3 fork (see the pull request) in this repo. Note that I am using my repo just to fool around with the interface, so later commits will be ugly hacks for my use case.
Yea, it seems to work in the newest version, closing now.
Doesn't seem to hande Unicode characters too well..
Would it be good to add the encoding built-in to the code?
My suggestion would be to add to
py_bing_search.py:37
a line:However I suck when it comes to unicode and the like so this might bring errors for other strings?