[英]How to show more images from Duckduckgo/Bing using the http url?
The default image search on DuckduckGo/Bing returns 35 images. DuckduckGo / Bing上的默认图像搜索返回35张图像。
Eg https://duckduckgo.com/?q=Temple+of+the+Golden+Pavilion&iax=1&ia=images 例如https://duckduckgo.com/?q=Temple+of+the+Golden+Pavilion&iax=1&ia=images
The same for Bing, see http://www.bing.com/images/search?q=Temple%20of%20the%20Golden%20Pavilion Bing的相同内容,请参阅http://www.bing.com/images/search?q=Temple%20of%20the%20Golden%20Pavilion
Is there a way to let it return more images using the http url? 有没有办法让它使用http网址返回更多图像?
Or if it's not possible, is there a way to go to the next 35 images through the http url? 或者,如果不可能, 有没有办法通过http网址转到接下来的35张图片?
I've checked their syntax page but there is no information about the image search: https://duckduckgo.com/params 我检查了他们的语法页面,但没有关于图像搜索的信息: https : //duckduckgo.com/params
I've tried &count=1000
too but it stills return 35 images: https://www.bing.com/images/search?q=times+square&count=100 我已经尝试过
&count=1000
但它仍然会返回35张图片: https : //www.bing.com/images/search? &count=1000
square &count=1000
For duckduckgo you could use the ajax url 对于duckduckgo,你可以使用ajax网址
https://duckduckgo.com/i.js?q=Temple%20of%20the%20Golden%20Pavilion&s=50 https://duckduckgo.com/i.js?q=Temple%20of%20the%20Golden%20Pavilion&s=50
It still only displays 35 images however the s parameter sets where the list of 35 starts from in the overall list, however big that may be. 它仍然只显示35个图像,但是s参数设置35个列表从整个列表中开始,无论多大都可能。
There is a next property in the json object holds the url for the next 35 images. json对象中有一个下一个属性,用于保存接下来35个图像的url。
You want to avoid using the default front page as it uses Ajax to get more images when you push on the plus symbol, thus not controllable via URL query string. 您希望避免使用默认首页,因为当您按下加号时使用Ajax来获取更多图像,因此无法通过URL查询字符串进行控制。
Try this link https://encrypted.google.com/search?tbm=isch&q=tomato 试试这个链接https://encrypted.google.com/search?tbm=isch&q=tomato
..or this for even cleaner page structure (no similarity based suggestions) https://encrypted.google.com/search?tbm=isch&q=tomato&tbs=imgo:1 ..或更简洁的页面结构(没有基于相似性的建议) https://encrypted.google.com/search?tbm=isch&q=tomato&tbs=imgo:1
The parameter tbm=isch takes you to a differently formatted page with more images. 参数tbm = isch将您带到具有更多图像的不同格式的页面。 Beware this still uses Ajax to load more images dinamically when scroling down.
注意这仍然使用Ajax在向下滚动时加载更多的图像。 As far as I know DuckDuckGo doesn't document any parameters to control the number of images you get back.
据我所知,DuckDuckGo没有记录任何参数来控制你得到的图像数量。 Hope this helps.
希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.