Python library for scraping Google Scholar.
Project description
Installation
$ pip install google_scholar_scraper
Command-line usage
$ gsscraper "neeman grothendieck duality"
will return the first result from Google Scholar matching this query, in XML format.
$ gsscraper "neeman grothendieck duality" -n 5
will return the five results from Google Scholar matching this query. (Max is 10 results.)
Library usage
import gsscraper
query = "neeman grothendieck duality"
gsscraper.get_result(query) # (a)
gsscraper.get_results(query, 5) # (b)
gsscraper.get_result_as_xml(query) # (c)
Here,
will return a Python dict with keys “title”, “author”, etc.;
will return a list of such Python dicts;
will return a list of strings in XML format.
License
GPL
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for google-scholar-scraper-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf8f7e2518de19e26a63603f0a0629b5023ca7a7cd0afb8fd9f2960e6da7b71 |
|
MD5 | 5bd50e9d4e1813deb0acfca9bc464723 |
|
BLAKE2b-256 | b81f7d64f7ae2065e8c74d8bff63aa00168d6109beda5d51e8c4d82338322c20 |