Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show more images from Duckduckgo/Bing using the http url?

The default image search on DuckduckGo/Bing returns 35 images.

E.g. 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

Is there a way to let it return more images using the http url?

Or if it's not possible, is there a way to go to the next 35 images through the http url?


I've checked their syntax page but there is no information about the image search: 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

like image 533
alvas Avatar asked Feb 10 '23 17:02

alvas


1 Answers

For duckduckgo you could use the ajax url

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.

There is a next property in the json object holds the url for the next 35 images.

like image 115
Matt Avatar answered Feb 16 '23 01:02

Matt