scholar.py
scholar.py copied to clipboard
- Adjusted ternary conditionals to allow for Python 2.4.3
compilation.
- Added log entry for when unable to connect to google scholar. This is visible in send_query/1 when response is set to None (currently no reporting)
Will work with BeautifulSoup 4, 3. Changes are minimal and merely on the syntax preventing a Python 2.4.3 compile.
Hi there! Thanks for your contribution. I'm a bit reluctant to merge this in ... 2.4.3 is so old at this point, and I'd rather make tweaks that ensure Python 3 compatibility than support older ones. Do you have a good reason for needing 2.4.3?
Hi,
I needed to use your code, and was not given the option to upgrade to python 2.7. not much is changed other than the conditionals. I have not however fully tested, as a result if you do consider 2.4.3 this is something we would have to do.