Skip to content

v1.01

Latest

Choose a tag to compare

@Amirrdoustdar Amirrdoustdar released this 11 May 19:26
7854d0e

📦 Release v1.1.0 – Publish Year Filter Added
✨ New Features
📅 Year Filtering:
Users can now specify a minimum publish year. The script will only fetch articles published from that year onward, using Google Scholar’s advanced search filter (as_ylo).

🛠 Improvements
Refactored the code into separate functions for better readability and maintainability.

Added file name sanitization to prevent OS-level filename errors.

Improved error handling with clearer console output for failed requests and parsing issues.

🧪 Example Usage

Enter your Topic: artificial intelligence
Enter the number of pages to search: 2
Enter minimum publish year (e.g. 2019): 2021
📂 Articles from 2021 onwards will be downloaded into a folder named artificial intelligence.

⚠️ Notes
Make sure your internet connection is stable and that Google doesn’t block automated requests. Using a VPN or varying User-Agent strings may help if blocked.

This release still relies on HTML scraping, which may break if Google Scholar updates their structure.

📁 Files Included
scholar_updated.py – Updated script with year filter

README.md – Documentation

requirements.txt – Dependencies (requests, beautifulsoup4)