Skip to content
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

Encoding issue on catalog search #27

Open
mebibou opened this issue Nov 4, 2020 · 0 comments
Open

Encoding issue on catalog search #27

mebibou opened this issue Nov 4, 2020 · 0 comments

Comments

@mebibou
Copy link

mebibou commented Nov 4, 2020

When searching for a title that contains some parenthesis, I do not get any response, example:

session.catalog.search('A lysimeter study of nitrate leaching, optimum fertilisation rate and growth responses of corn (Zea mays L.) following soil amendment with water-saving super-absorbent polymer')

gives no result even though the entry definitely exist with the exact same title:
https://www.mendeley.com/search/?query=A+lysimeter+study+of+nitrate+leaching%2C+optimum+fertilisation+rate+and+growth+responses+of+corn+%28Zea+mays+L.%29+following+soil+amendment+with+water-saving+super-absorbent+polymer&dgcid=md_homepage

However, from the url of the link I can see some chars were converted to their ascii equivalent, so this search will work:

session.catalog.search('A lysimeter study of nitrate leaching%2C optimum fertilisation rate and growth responses of corn %28Zea mays L.%29 following soil amendment with water-saving super-absorbent polymer')

I see the code is using urlencode for this but I guess it doesn't work that well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant