google-scholar-scraper
Version 0.2 works with Python3.
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
Metadata
Release files for google-scholar-scraper 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| google-scholar-scraper-0.2.tar.gz | 3.0 kB | Without provenance | Details for google-scholar-scraper-0.2.tar.gz |
Release files / google-scholar-scraper-0.2.tar.gz
| Download URL | google-scholar-scraper-0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
535ef507527452d30d8ab0e8632699a68878a0e288ed9c4d64fcd23a41ad7fe7
|
|
BLAKE2b-256 checksum How to use checksums |
bc8451e84831774b768ed4aa84887a682554b0afc07cf3cc9cfdbbe74c58b5d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for google-scholar-scraper 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.