public class GoogleImagesRequest extends Object
| 构造器和说明 |
|---|
GoogleImagesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAiOverview()
获取控制是否获取 Google 搜索结果中的 AI 概览(AI Overview)内容。
|
String |
getCr()
获取定义一个或多个将搜索限制在的国家/地区。
|
String |
getDevice()
获取定义用于获取结果的设备。
|
String |
getFilter()
获取定义“类似结果”和“省略结果”的过滤器是开启还是关闭。
|
String |
getGl()
获取定义 Google 搜索要使用的国家/地区。
|
String |
getGoogleDomain()
获取定义要使用的 Google 域名。
|
String |
getHl()
获取定义 Google 搜索要使用的语言。
|
String |
getIbp()
获取负责渲染某些元素的布局和扩展。
|
String |
getJson()
获取定义采集结果的输出格式。
|
String |
getKgmid()
获取定义要抓取的 Google 知识图谱列表的 ID(KGMID)。
|
String |
getLat()
获取定义搜索起点的 GPS 纬度。
|
String |
getLocation()
获取定义搜索发起的地理位置。
|
String |
getLon()
获取定义搜索起点的 GPS 经度。
|
String |
getLr()
获取定义一个或多个将搜索限制在的语言。
|
String |
getLsig()
获取用于强制显示知识图谱地图视图。
|
String |
getLudocid()
获取定义地点的 Google CID(客户标识符),可以使用 Google 的 CID 转换器获取它。
|
String |
getNfpr()
获取当原始查询拼写错误时,定义是否排除来自自动更正查询的结果。
|
String |
getNoCache()
获取默认情况下,5 分钟内缓存相同参数的搜索结果。
|
String |
getQ()
获取定义搜索的查询内容,默认值为 pizza。
|
String |
getRadius()
获取定义搜索结果偏向的范围(以米为单位)。
|
String |
getRenderJs()
获取如果为 true,系统将使用浏览器执行页面脚本并返回完整渲染后的 HTML。
|
String |
getSafe()
获取定义成人内容的过滤级别。
|
String |
getSi()
获取定义要抓取的 Google 搜索的缓存搜索参数。
|
String |
getStart()
获取定义结果偏移量。
|
String |
getTbm()
获取定义要执行的搜索类型。
|
String |
getTbs()
获取定义常规查询字段中无法实现的高级搜索参数。
|
String |
getUds()
获取启用搜索过滤。
|
String |
getUule()
获取希望用于搜索的 Google 编码位置。
|
GoogleImagesRequest |
setAiOverview(String aiOverview)
设置控制是否获取 Google 搜索结果中的 AI 概览(AI Overview)内容。
|
GoogleImagesRequest |
setCr(String cr)
设置定义一个或多个将搜索限制在的国家/地区。
|
GoogleImagesRequest |
setDevice(String device)
设置定义用于获取结果的设备。
|
GoogleImagesRequest |
setFilter(String filter)
设置定义“类似结果”和“省略结果”的过滤器是开启还是关闭。
|
GoogleImagesRequest |
setGl(String gl)
设置定义 Google 搜索要使用的国家/地区。
|
GoogleImagesRequest |
setGoogleDomain(String googleDomain)
设置定义要使用的 Google 域名。
|
GoogleImagesRequest |
setHl(String hl)
设置定义 Google 搜索要使用的语言。
|
GoogleImagesRequest |
setIbp(String ibp)
设置负责渲染某些元素的布局和扩展。
|
GoogleImagesRequest |
setJson(String json)
设置定义采集结果的输出格式。
|
GoogleImagesRequest |
setKgmid(String kgmid)
设置定义要抓取的 Google 知识图谱列表的 ID(KGMID)。
|
GoogleImagesRequest |
setLat(String lat)
设置定义搜索起点的 GPS 纬度。
|
GoogleImagesRequest |
setLocation(String location)
设置定义搜索发起的地理位置。
|
GoogleImagesRequest |
setLon(String lon)
设置定义搜索起点的 GPS 经度。
|
GoogleImagesRequest |
setLr(String lr)
设置定义一个或多个将搜索限制在的语言。
|
GoogleImagesRequest |
setLsig(String lsig)
设置用于强制显示知识图谱地图视图。
|
GoogleImagesRequest |
setLudocid(String ludocid)
设置定义地点的 Google CID(客户标识符),可以使用 Google 的 CID 转换器获取它。
|
GoogleImagesRequest |
setNfpr(String nfpr)
设置当原始查询拼写错误时,定义是否排除来自自动更正查询的结果。
|
GoogleImagesRequest |
setNoCache(String noCache)
设置默认情况下,5 分钟内缓存相同参数的搜索结果。
|
GoogleImagesRequest |
setQ(String q)
设置定义搜索的查询内容,默认值为 pizza。
|
GoogleImagesRequest |
setRadius(String radius)
设置定义搜索结果偏向的范围(以米为单位)。
|
GoogleImagesRequest |
setRenderJs(String renderJs)
设置如果为 true,系统将使用浏览器执行页面脚本并返回完整渲染后的 HTML。
|
GoogleImagesRequest |
setSafe(String safe)
设置定义成人内容的过滤级别。
|
GoogleImagesRequest |
setSi(String si)
设置定义要抓取的 Google 搜索的缓存搜索参数。
|
GoogleImagesRequest |
setStart(String start)
设置定义结果偏移量。
|
GoogleImagesRequest |
setTbm(String tbm)
设置定义要执行的搜索类型。
|
GoogleImagesRequest |
setTbs(String tbs)
设置定义常规查询字段中无法实现的高级搜索参数。
|
GoogleImagesRequest |
setUds(String uds)
设置启用搜索过滤。
|
GoogleImagesRequest |
setUule(String uule)
设置希望用于搜索的 Google 编码位置。
|
public String getQ()
public GoogleImagesRequest setQ(String q)
q - q 参数值public String getJson()
public GoogleImagesRequest setJson(String json)
json - json 参数值public String getGoogleDomain()
public GoogleImagesRequest setGoogleDomain(String googleDomain)
googleDomain - googleDomain 参数值public String getGl()
public GoogleImagesRequest setGl(String gl)
gl - gl 参数值public String getHl()
public GoogleImagesRequest setHl(String hl)
hl - hl 参数值public String getCr()
public GoogleImagesRequest setCr(String cr)
cr - cr 参数值public String getLr()
public GoogleImagesRequest setLr(String lr)
lr - lr 参数值public String getLocation()
public GoogleImagesRequest setLocation(String location)
location - location 参数值public String getUule()
public GoogleImagesRequest setUule(String uule)
uule - uule 参数值public String getLat()
public GoogleImagesRequest setLat(String lat)
lat - lat 参数值public String getLon()
public GoogleImagesRequest setLon(String lon)
lon - lon 参数值public String getRadius()
public GoogleImagesRequest setRadius(String radius)
radius - radius 参数值public String getStart()
public GoogleImagesRequest setStart(String start)
start - start 参数值public String getTbm()
public GoogleImagesRequest setTbm(String tbm)
tbm - tbm 参数值public String getLudocid()
public GoogleImagesRequest setLudocid(String ludocid)
ludocid - ludocid 参数值public String getLsig()
public GoogleImagesRequest setLsig(String lsig)
lsig - lsig 参数值public String getKgmid()
public GoogleImagesRequest setKgmid(String kgmid)
kgmid - kgmid 参数值public String getSi()
public GoogleImagesRequest setSi(String si)
si - si 参数值public String getIbp()
public GoogleImagesRequest setIbp(String ibp)
ibp - ibp 参数值public String getUds()
public GoogleImagesRequest setUds(String uds)
uds - uds 参数值public String getTbs()
public GoogleImagesRequest setTbs(String tbs)
tbs - tbs 参数值public String getSafe()
public GoogleImagesRequest setSafe(String safe)
safe - safe 参数值public String getNfpr()
public GoogleImagesRequest setNfpr(String nfpr)
nfpr - nfpr 参数值public String getFilter()
public GoogleImagesRequest setFilter(String filter)
filter - filter 参数值public String getDevice()
public GoogleImagesRequest setDevice(String device)
device - device 参数值public String getRenderJs()
public GoogleImagesRequest setRenderJs(String renderJs)
renderJs - renderJs 参数值public String getNoCache()
public GoogleImagesRequest setNoCache(String noCache)
noCache - noCache 参数值public String getAiOverview()
public GoogleImagesRequest setAiOverview(String aiOverview)
aiOverview - aiOverview 参数值Copyright © 2026. All rights reserved.