Comments (4)
@Owaiskhan9654 , that was not the issue that OP @MatteoRiva95 posted.
The issue was with the exception StopIteration, which I don't think it has anything to do with Proxies.
First, consider this code:
from scholarly import scholarly
search_phrase = "massive MIMO"
search_query = scholarly.search_pubs(search_phrase)
search_query2 = scholarly.search_pubs(search_phrase, start_index=970)
You will get:
search_query.total_results --> 179000
search_query2.total_results --> 0 (it's 0 even if start_index= 10)
This is issue 1.
Issue 2:
When you iterate over the results using next(search_query)
.
search_query2 raises THAT exception (StopIteration) after 10 results or so.
What's going on? Any idea @ipeirotis?
from scholarly.
Any update? Still getting this issue @ipeirotis @papr @marcoscarpetta @guicho271828
from scholarly.
You need a paid proxy for searching publications.
from scholarly.
Seems to be related to the anti-crawling mechanism of Google. The URL that we create seems to be flagged as unusual by Google and Google returns back an "error" page. I do not have a clear path how to fix this.
from scholarly.
Related Issues (20)
- [Feature Request] Support for legal opinions HOT 1
- pprint doesn't work on Windows? HOT 1
- Raising StopIteration Errors for some queries even when the http requests are successful (using ScraperAPI). HOT 3
- MaxTriesExceededException: Cannot Fetch from Google Scholar. with print(success) is 【True】
- StopIteration on search query with DOI (was working a month ago) HOT 2
- Can we make search papers based on the organization or coutry? HOT 1
- Cannot import HOT 2
- `search_pubs` method is missing publications HOT 1
- Cache query results HOT 7
- Convert Publication Source HOT 3
- Can the search_... functions return a count of the results? HOT 2
- Unclosed file causes ResourceWarning while running unit tests
- Type mismatch in `_navigator.search_authors()` HOT 1
- Unexpected behavior of `start_index` in `search_citedby` results in an empty generator
- publication `fill` both updates **in place** and returns the same publication
- scholarly.search_pubs() doesnt work HOT 1
- Scholarly package does return cropped output HOT 2
- Using cookies from browser in scholarly
- Fetch the authors and author pages of a publication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scholarly.