Code Monkey home page Code Monkey logo

search_scholar's Introduction

README for Google Scholar Search Tool

Overview

This repository contains a Python script for searching academic papers and publications via Google Scholar using the scholarly Python library. The script provides an efficient way to query Google Scholar and retrieve relevant academic information, including titles, authors, abstracts, and citation counts. It features caching to improve performance and reduce redundant queries.

Features

  • Google Scholar Integration: Leverages the scholarly library to search Google Scholar.
  • Proxy Support: Includes a proxy setup to bypass any potential access restrictions on Google Scholar. You might want to adapt the proxy used : https://scholarly.readthedocs.io/en/stable/ProxyGenerator.html
  • Query Normalization: Processes and normalizes queries for more effective searching.
  • Caching Mechanism: Implements caching to store and retrieve previous search results, reducing redundant server requests and speeding up retrieval.
  • Customizable Search Results: Allows specifying the maximum number of results to return.

Requirements

  • Python 3.x
  • scholarly Python library
  • Internet access for fetching results from Google Scholar

Installation

To set up this tool, clone the repository and install the required dependencies.

git clone https://github.com/dlakisic/Search_scholar.git
cd ./Search_scholar
pip install -r requirements.txt

Usage

To use the script, import the search_scholar function and call it with your search query.

from Search_scholar import search_scholar

query = "your search query"
results = search_scholar(query, max_results=5)
# Process the results as needed

Function Documentation

search_scholar(query, max_results=10): Searches Google Scholar with the given query and returns a list of dictionaries, each representing a publication.

Contributing

Contributions to improve the script or extend its functionality are welcome. Please follow the standard pull request process for contributions.

search_scholar's People

Contributors

dlakisic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.