Google scholarにコマンドラインで問い合わせる

scholarly.pyを使う
https://github.com/shohei/scholar.py

/usr/local/bin/getpaper

#!/usr/bin/env python
import sys
import os

if(len(sys.argv)<2):
    print("usage: getpaper [phrase]")
    exit()

phrase = ""
for p in sys.argv[1:]:
    phrase = phrase +" " + p
phrase = phrase.strip()
filename = phrase.lower().replace(" ","_")
cmd = "scholar.py -c 20 --phrase "+phrase+" --citation bt | tee -a "+filename+".bib"
print(cmd)
os.system(cmd)