A library to query and parse academic articles from Google Scholar.
A form based in the original work of ukwala's scholarly.
This library allows you to search for academic articles on Google Scholar and parse the results. It is written in TypeScript and uses Cheerio for parsing and Axios for making HTTP requests.
You can install this package using yarn or npm:
# Using yarn
yarn add @ebandev/scholarly
# Using npm
npm install @ebandev/scholarly
Here is a basic example of how to use this library:
import * as scholarly from "@ebandev/scholarly";
async function searchArticles() {
const results = await scholarly.search("your search query");
console.log(results);
}
searchArticles();
This project uses Ava for testing. You can run the tests with the following command:
yarn test
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.