Open tungduonghgg123 opened 5 years ago
Same here, I think the tool isn't updated with the latest Unsplash API
I have not updated this with the latest unsplash api, if anyone of you would like to update it and provide PR i am happy to merge it
@tungduonghgg123 @Maxiride
NOTE - I have not updated the repo with the latest unsplash API yet
I got time to again sit and look at this repo.
Unsplash doesn't provide application ID so it is confusing for me to use your tool.
You are right. We need to create an application to access the API and it provides an access key. I agree that the wording the README.md
was confusing. I have merged #4 provided by @RoyFossil into the master.
Now coming to the main issue, the collection you tried to download returns a 404 error.
https://github.com/yash1th/unsplash-album-downloader/issues/url
So, I tried to test it out with the below collection
Collection URL - https://unsplash.com/collections/8525274/wallpapers-collection Collection ID - 8525274
It worked fine. Please find the below output,
(unsplash-album-downloader) ➜ unsplash-album-downloader git:(dummy) ✗ python3 download_collection_album.py 8525274 raw
successfully downloaded 42 photos in "Dmytro Pidhrushnyi-unsplash-collection-Wallpapers Collection-raw" folder
(unsplash-album-downloader) ➜ unsplash-album-downloader git:(dummy) ✗ ls -l Dmytro\ Pidhrushnyi-unsplash-collection-Wallpapers\ Collection-raw
total 1122208
-rw-r--r-- 1 yash staff 10947362 Jan 29 10:40 -YQRk3O0Ugw.jpg
-rw-r--r-- 1 yash staff 14548036 Jan 29 10:39 1397nmx6etU.jpg
-rw-r--r-- 1 yash staff 20787846 Jan 29 10:39 3R9zzSke3DA.jpg
-rw-r--r-- 1 yash staff 15688277 Jan 29 10:39 3xaoR5tYec4.jpg
-rw-r--r-- 1 yash staff 12622494 Jan 29 10:39 96_kfgSNvMc.jpg
-rw-r--r-- 1 yash staff 8842151 Jan 29 10:39 AbbFzFDTUNs.jpg
-rw-r--r-- 1 yash staff 10630800 Jan 29 10:40 AiLJeuxds-M.jpg
-rw-r--r-- 1 yash staff 9690985 Jan 29 10:39 BrSgHOOOJSY.jpg
-rw-r--r-- 1 yash staff 15725555 Jan 29 10:40 Cr-YKg5Ytc0.jpg
-rw-r--r-- 1 yash staff 17980439 Jan 29 10:40 E-EiTo1jzWY.jpg
-rw-r--r-- 1 yash staff 16420496 Jan 29 10:39 EnHeMMN9Kdo.jpg
-rw-r--r-- 1 yash staff 10467366 Jan 29 10:40 FhoxRJWFS4Y.jpg
-rw-r--r-- 1 yash staff 14404611 Jan 29 10:40 GkYg4VPn28Y.jpg
-rw-r--r-- 1 yash staff 15974014 Jan 29 10:39 JuS9_HB5mPs.jpg
-rw-r--r-- 1 yash staff 9774937 Jan 29 10:40 MQTza19TQaA.jpg
-rw-r--r-- 1 yash staff 15242444 Jan 29 10:40 OrYsYuy1Q5U.jpg
-rw-r--r-- 1 yash staff 22642971 Jan 29 10:40 RwksOm0EhEE.jpg
-rw-r--r-- 1 yash staff 13960120 Jan 29 10:39 SG56X89CzcI.jpg
-rw-r--r-- 1 yash staff 7771858 Jan 29 10:39 SQCJbK3IzVk.jpg
-rw-r--r-- 1 yash staff 8063711 Jan 29 10:39 SuXWz8xi2t4.jpg
-rw-r--r-- 1 yash staff 11542058 Jan 29 10:39 XUjB-dPAgy8.jpg
-rw-r--r-- 1 yash staff 21570352 Jan 29 10:39 XnY6fey_WI8.jpg
-rw-r--r-- 1 yash staff 2736309 Jan 29 10:39 YYQBcR0dgwM.jpg
-rw-r--r-- 1 yash staff 9387182 Jan 29 10:40 _YLWjEOuzA4.jpg
-rw-r--r-- 1 yash staff 16048992 Jan 29 10:40 dUp8JQ1aq7U.jpg
-rw-r--r-- 1 yash staff 13181449 Jan 29 10:39 deOI1YCih6k.jpg
-rw-r--r-- 1 yash staff 11622603 Jan 29 10:40 egyr83UfPkw.jpg
-rw-r--r-- 1 yash staff 19961460 Jan 29 10:40 j29_zJIv_BQ.jpg
-rw-r--r-- 1 yash staff 13777241 Jan 29 10:39 jC9eaPcLTh0.jpg
-rw-r--r-- 1 yash staff 24665983 Jan 29 10:40 jNga34OJDeI.jpg
-rw-r--r-- 1 yash staff 14287902 Jan 29 10:39 k40V6iqDQn8.jpg
-rw-r--r-- 1 yash staff 5983303 Jan 29 10:40 km5N0-0OHlY.jpg
-rw-r--r-- 1 yash staff 15250364 Jan 29 10:39 mEd4x5r0SGk.jpg
-rw-r--r-- 1 yash staff 10887103 Jan 29 10:40 mQPjj8qPaJw.jpg
-rw-r--r-- 1 yash staff 11618466 Jan 29 10:39 nYNylpKWU6U.jpg
-rw-r--r-- 1 yash staff 19232076 Jan 29 10:40 pOm-mrywlyo.jpg
-rw-r--r-- 1 yash staff 8380397 Jan 29 10:39 ppU30vpfMzI.jpg
-rw-r--r-- 1 yash staff 15393743 Jan 29 10:39 rGk5pKGYC_Q.jpg
-rw-r--r-- 1 yash staff 19908910 Jan 29 10:40 sCDKPKi4uKA.jpg
-rw-r--r-- 1 yash staff 13476419 Jan 29 10:39 tbE-Y16gGtg.jpg
-rw-r--r-- 1 yash staff 9157968 Jan 29 10:39 waWCR_Dl3k8.jpg
-rw-r--r-- 1 yash staff 7530720 Jan 29 10:39 x5-H0sWG_CY.jpg
Please let me know if you are still facing the same issue
I can download without -c flag. Otherwise i will got "404 error - Unable to find endpoint".
I am trying to download this collection https://unsplash.com/wallpaper/1339090/4k-wallpapers Unsplash doesn't provide application ID so it is confusing for me to use your tool. So I use
accessId
instead, please tell me the right way. Put it all together, here is the API i try to call:python download_collection_album.py -c '1339090/4k-wallpapers' full
but I got:404 error - Unable to find endpoint