MehediH / Bulksplash

A simple command line tool that lets you bulk download images from Unsplash
https://www.npmjs.com/package/bulksplash
GNU General Public License v3.0
531 stars 55 forks source link

Only 30 pictures download #5

Closed alexvaa closed 4 years ago

alexvaa commented 7 years ago

after command node index --amount=1000 only 30 pictures download

node index --amount=1000

Welcome to Bulksplash! (Powered by Unsplash.com)

Downloading 1000 random images :)

Downloading images from:

Brxxto (https://unsplash.com/@brxxto) Paul Jarvis (https://unsplash.com/@pjrvs) Matt Aunger (https://unsplash.com/@mattaunger) Julian Klumpers (https://unsplash.com/@julianklumpers) reza shayestehpour (https://unsplash.com/@r_shayesrehpour) Neven Krcmarek (https://unsplash.com/@nevenkrcmarek) Vladimir Kudinov (https://unsplash.com/@madbyte) Chris Benson (https://unsplash.com/@maui354) Richard Clark (https://unsplash.com/@digimist) Kaitlyn Jameson (https://unsplash.com/@willsk) Zoltan Kovacs (https://unsplash.com/@kovacsz1) Theodora Lee (https://unsplash.com/@theodoraaaa) kazuend (https://unsplash.com/@kazuend) Gabriel Santiago (https://unsplash.com/@gabrielssantiago) Ahmet Yalçınkaya (https://unsplash.com/@ahmetyalcinkaya) Todd Quackenbush (https://unsplash.com/@toddquackenbush) Christoffer Engström (https://unsplash.com/@christoffere) wu yi (https://unsplash.com/@takeshi2) Jonathan M. Hethey (https://unsplash.com/@jonathanmh) Tanaphong Toochinda (https://unsplash.com/@daen_2chinda) Chris Benson (https://unsplash.com/@maui354) Christian Löhner (https://unsplash.com/@diren89) Daryn Bartlett (https://unsplash.com/@darynmae) anne-marie robert (https://unsplash.com/@annemarierobert) Kevin Rajaram (https://unsplash.com/@kevinrajaram) Jack Gisel (https://unsplash.com/@jackgisel) Ashim D’Silva (https://unsplash.com/@randomlies) ludwig friborg (https://unsplash.com/@ludwig_friborg) Jez Timms (https://unsplash.com/@jeztimms) Allef Vinicius (https://unsplash.com/@seteales) ====---------------------------------------------------------------------------------------------------------------------------------------------

then exit with out error

service is disable some time, need to process request code != 200

teekey-dev commented 6 years ago

Same here, it downloads only up to 30 pics.

jaweesner commented 6 years ago

The unspash api limits the amount of elements retrieved to 30 per page, and the code doesn't consider pagination.

nair-sreerag commented 5 years ago

I have fixed this issue and created a pull request. Please clone my fork and verify.

MehediH commented 4 years ago

This should be fixed in the latest update!