sheikhartin / google-scholar-scraper Goto Github PK
View Code? Open in Web Editor NEWExport the articles and reports from Google Scholar easily! (The spider structure is inspired by the Scrapy framework)
License: MIT License
Export the articles and reports from Google Scholar easily! (The spider structure is inspired by the Scrapy framework)
License: MIT License
The versions have jumped from 0.2.0 to 2.0.0, but it should be 1.0.0 after the update to support profiles...
Note: This issue was opened by the programmer after replacing version 2.0.0 with 1.0.0. I decided to say this so that if you look at the history of commits, you will not be afraid to change the labels.
Check out this question on Stack Overflow to learn how to replace remote tag with Git.
Thanks in advance, this is such a helpful app, would love to have this one bug fixed.
Sometimes when I search it gives me this error. Even when I run the most basic search: python core.py "Covid"
All dependencies were installed successfully with: pip install -r requirements.txt . Running Ubuntu 22.04.2 Locally.
If you could also advise the best way to search for 2 keywords at once: Would it be "keyword1" "keyword 2" or "keyword1 keyword2" or otherwise in the prompt. Thanks.
Bash Prompt Used When Error Appears: python3 core.py "cbd covid" -s 2022 -e 2023
Fetching request #18 from https://scholar.google.com/scholar?start=170&q=cbd+covid&hl=en&lr=lang_en&as_sdt=0,5&as_ylo=2020&as_yhi=2023
Traceback (most recent call last):
File "/home/agentgpt/google-scholar-scraper/core.py", line 234, in
results = pd.DataFrame(gs_spider.fetch())
File "/home/agentgpt/.local/lib/python3.10/site-packages/pandas/core/frame.py", line 711, in init
data = list(data)
File "/home/agentgpt/google-scholar-scraper/core.py", line 62, in fetch
for item in self.parse(response):
File "/home/agentgpt/google-scholar-scraper/core.py", line 98, in parse
year = re.search(r'\d{4,}$', snippet[-2]) or re.search(r'\d{4,}$', snippet[-1])
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.