学术搜索
Google Scholar 爬虫允许您提交搜索查询,并接收包含文章、书籍、引用和相关链接的结构化解析数据。
请求示例
curl 'https://realtime.oxylabs.io/v1/queries' \\
--user 'USERNAME:PASSWORD' \\
-H 'Content-Type: application/json' \\
-d '{
"source": "google_scholar",
"query": "best novels",
"render": "html",
"parse": true
}'import requests
from pprint import pprint
# Structure payload.
payload = {
"source": "google_scholar",
"query": "best novels",
"render": "html",
"parse": True
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload,
)
# Print prettified response to stdout.
pprint(response.json())请求参数
参数
描述
默认值
结构化数据
输出字典
键
描述
类型
最后更新于
这有帮助吗?

