Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work #121

Open
kirk86 opened this issue May 5, 2019 · 8 comments
Open

It doesn't work #121

kirk86 opened this issue May 5, 2019 · 8 comments

Comments

@kirk86
Copy link

kirk86 commented May 5, 2019

It seems that this script doesn't work as it returns not results what so ever.
No matter what query I choose, I've tried all examples in the readme and it always shows no results.

@hack-r
Copy link

hack-r commented May 10, 2019

@kirk86 You'll probably need to provide detailed info. Details on your system, Python version, code, output if any, etc.

@kirk86
Copy link
Author

kirk86 commented May 10, 2019

Details on your system, Python version, code, output if any,

OS X 10.14.4
python 3.7
usage: scholar.py -c 1 --author "albert einstein" --phrase "quantum theory"
output: None

@ishanSrt
Copy link

I can confirm this

@peterzjx
Copy link

I've made my own fork fixing a couple of previously mentioned issues (bibtex citation and this. )
Also, the "no results" return is likely due to Google actively blocking bots by showing reCAPTCHAs. So always use a cookie file exported from your browser.

@kirk86
Copy link
Author

kirk86 commented May 29, 2019

@peterzjx what kind of file and structure are we talking here? Can you provide an example? For instance if use a .txt file with the cookie value inside will that work?

@peterzjx
Copy link

@kirk86 Yes. I'm using a Chrome plugin called cookies.txt and just copy the content in a .txt file, refer the file in the program (--cookie_file in terminal, or ScholarConf.COOKIE_JAR_FILE in python) it works fine.

However, there are still very harsh limits on the number and frequency of queries. I was validating ~100 citations in google scholar by hand and it cut me off about 5 times. So even a couple of test runs may disable the function for a while.

@kirk86
Copy link
Author

kirk86 commented May 29, 2019

@peterzjx thanks I'll give it a try, if you don't mind me asking have your changes been incorporated as PR in this repo?

@peterzjx
Copy link

@kirk86 It seems there has been no incorporation of PR for the past 2 years on this repo... and I haven't tested the previous suggestions to fix #102 (I didn't apply their patch yet but it seems working fine for me already) so there are gonna be some conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants