Serpapi link for citation data
under review
David Ollodart
I'd like to do the following:
citation = GoogleSearch({'q':gsch_res['result_id'],'engine':'google_scholar_cite'})
links = citation['links']
cite_data = {}
for link in links:
cite_data[link['name']] = requests.get(link['link'], params={'api_key':'myapikey'}).text
But the link given is the direct link, not a serpapi link. So you are denied the resource. Can you add the serpapi link to get the citation data file? Then
link['link']
could be replaced with link['serpapi_link']
.Justin O'Hara
under review
Justin O'Hara
the
link
given is sometimes restricted or in one particular case of https://serpapi.com/playground?engine=google_scholar_cite&q=lugrJQxNOc4J for an instance of the link
I was able to get the response :@article{deluca2019mechanism,
title={Mechanism and Kinetics of Methylating C6--C12 Methylbenzenes with Methanol and Dimethyl Ether in H-MFI Zeolites},
author={DeLuca, Mykela and Kravchenko, Pavlo and Hoffman, Alexander and Hibbitts, David},
journal={ACS Catalysis},
volume={9},
number={7},
pages={6444--6460},
year={2019},
publisher={ACS Publications}
}
BibTex, EndNote, etc are separate files that we would need a way to host these files and have proper authorization for all results.
I will reach out to engineers to see if this is viable.