ScholarScraper
A Python library for scraping Google Scholar profiles using Playwright.
Installation
pip install scholarscraper
Usage
from scholarscraper import fetch_scholar_data
import asyncio
async def main():
# Fetch data for a Google Scholar profile
data = await fetch_scholar_data("SCHOLAR_ID")
print(f"Name: {data['name']}")
print(f"Total citations: {data['citations']['all']}")
print(f"h-index: {data['h_index']['all']}")
if __name__ == "__main__":
asyncio.run(main())
Features
- Fetch author information
- Get citation statistics (all-time and recent)
- Get publication list with citations
- Async/await support
- Clean, typed interface
Requirements
- Python 3.8+
- Playwright
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for scholarlyscraper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scholarlyscraper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / scholarlyscraper-0.1.0-py3-none-any.whl
| Download URL | scholarlyscraper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11aefe80a8a0c4a2bde870a51c9abd76cc8c30447ed92e7ba99cf58280e88a54
|
|
BLAKE2b-256 checksum How to use checksums |
94b84bb2540b3e76d32bcbd665a94e49982cc814e4522b0ea72e80664e5733fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Security for scholarlyscraper 0.1.0
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.