ckreibich / scholar.py

A parser for Google Scholar, written in Python
2.11k stars 777 forks source link

JSON and JSONP output formats added. #37

Open helix84 opened 9 years ago

helix84 commented 9 years ago

I wrote it to be Python 2.6 compatible, which I found to be the (unstated) minimum version scholar.py runs with. If you're willing to raise the minimum version to 2.7, we could use OrderedDict for sorting the keys (not alphabetically, which json can do via sort_keys=True, but rather in the logical order). 2.7 would also allow us to simplify some other code and use argparse, which opens path to newer versions than Python 3.2.