Comments (7)
Thanks. Looks good on my end. Can be closed.
PS: great job with your documentation / FAQ.
from spotlight-downloader.
Well, there is a limit, but not on the amount of images you can download. The API currently returns one random image. You cannot specifically request for a different image so as you request random images, it becomes more and more likely that images returned by the API are already in the archive. SpotlightDL does not know when to stop, so there is a hard limit of 50 consecutive unsuccessful API calls (images already archived) that will cause the download operation to stop. However, you can launch download again at a later time to discover more images as I suppose that they are periodically renewed. Since I created this app, my Archive folder progressively grew to around 1000 images at the moment.
from spotlight-downloader.
Thanks a lot for your explanation. I dug into your code and I realized that there was this 50 hard limit. However, having launched maybe 50 times the script in the last few days, I have managed to get only one extra image. This seems very low to me, especially considering the amount of pictures you mentioned or for that matter if you go to https://spotlight.it-notes.ru, the website has roughly 1200 pictures as well. So this means that the Spotlight service has probably a lot in stock.
Even if we admit that they are rotating them periodically and / or not having all of them available, I still believe that I should get more in my archive. I tried also to connect to the endpoint directly (via webbrowser) and I am able to get many more pictures that way (that are not in my archive). For me, this is a mystery.
PS: by the way, I am not sure that discussing this in an issue in github is the right place. I wouldn't mind doing it via mail / chat (and we could do it in French as well).
from spotlight-downloader.
Indeed, 75 is unusually low. Just launched the download script 5 times and got respectively 303, 260, 342, 340 and 321 images, for a total of 369 unique images when counting all 5 attempts.
As per https://github.com/ORelio/Spotlight-Downloader#spotlight-api some parameters are set depending on your computer. SpotlightDL will set locale, current screen res (or fake huge res if asked to), language and country depending on what is set on your computer, so if you use the link in the Readme which has a different locale, language, date and/or country, images returned by the API may be different.
For discussing in French you may drop me your email by posting a comment on this blog post.
from spotlight-downloader.
I think you were spot on. On the API link you sent, everything is set as en_US. However, my computer was set on se_SW, and as a consequence, I was getting very little hits. Once the region changed, I now have an archive with more than 400+ pics. However, I need to revert to my original region. Which means that if I use the update-archive-and-lockscreen script, my archive will not increase. Would you consider exposing the locale in your API, so that it would be possible to give that as a potential parameter to SpotlightDownloader?
PS: Apologies for not contributing a PR, but I can "understand" c# but I cannot write it.
from spotlight-downloader.
Implemented --locale
as per release 1.4.1.
from spotlight-downloader.
Will test and let you know.
from spotlight-downloader.
Related Issues (20)
- Incorrect screen resolution on custom DPI scaling HOT 2
- locale list HOT 2
- feature request: new pictures more often HOT 10
- Licence violation? HOT 1
- How To ... HOT 5
- Add a folder with dates of download in /SpotlightArchive HOT 30
- Ignore a Locale HOT 7
- Locales for add in the program HOT 10
- Does Windows Spotlight have images for 4k displays? HOT 1
- Portrait format for smartphone HOT 3
- SpotlightAPI Missing 'batchrsp/items' error (probably to api changes) HOT 3
- Download Data stage results in connection termination HOT 2
- Spotlight Downloader without restriction xx-YY on locale HOT 14
- SpotlightDL isn't working since 3 or 4 Days HOT 4
- Filenames of the images HOT 6
- SpotlightAPI: System.ArgumentException: Customized cultures cannot be passed by LCID, only by name - error HOT 7
- Uninstallation Issue - Can not find hide-console.vbs HOT 5
- Background spotlight HOT 4
- Check for metered connection is used HOT 3
- why not upload a exe file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotlight-downloader.