scholar.py icon indicating copy to clipboard operation
scholar.py copied to clipboard

Search results truncated at 10

Open cryptic0 opened this issue 5 years ago • 1 comments

Can't get results over 10 articles using only the author name:

python scholar.py --author "AUTHOR NAME"

  • If you include the -c flag and input a value of 15, you still get only 10 results. However, if you ask for -c 5, you do get 5 results, assuming the person has at least 5 articles published.

cryptic0 avatar Jul 24 '20 16:07 cryptic0

The results limit seems to be hardcoded, see line 243. See also the change log for version 2.11:

2.11 The Scholar site seems to have become more picky about the number of results requested. The default of 20 in scholar.py could cause HTTP 503 responses. scholar.py now doesn't request a maximum unless you provide it at the comment line. (For the time being, you still cannot request more than 20 results.)

mhaeussermann avatar Oct 07 '20 11:10 mhaeussermann