图片搜索
请求示例
udm
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "google_search",
"domain": "nl",
"query": "adidas",
"parse": true,
"context": [
{
"key": "udm",
"value": "2"
}
]
}'import requests
from pprint import pprint
# 构建负载。
payload = {
'source': 'google_search',
'domain': 'nl',
'query': 'adidas',
'parse': True,
'context': [
{'key': 'udm', 'value': '2'},
],
}
# 获取响应。
response = requests.post(
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload,
)
# 将美化后的响应打印到标准输出。
pprint(response.json())tbm
请求参数值
通用
参数
说明
默认值
Google 高级搜索运算符
本地化
参数
说明
默认值
分页
参数
说明
默认值
筛选
参数
说明
默认值
其他
参数
说明
默认值
上下文参数
结构化数据
输出数据字典
HTML 示例

JSON 结构
键 (results.images)
说明
类型
自然
键 (results.organic)
说明
类型
搜索信息

键 (results.search_information)
说明
类型
建议搜索
最后更新于
这有帮助吗?

