-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using id originally from unsplash.com to help finding photo source #16
Comments
@daviszerro Hey! Thank you for the suggestion, this could be a good addition, however, currently, the way venus pulls images is using
As far as I can tell, there is no image identifier there, which can point back to the original image source like the URL example you gave.
The above links, for example, don't point to anything regarding the original image source. I also took a quick look at the HTML and network requests, and there does not seem to be any more information that could help there. So in order to get that feature to work, it would require changing the way images are fetched. I'm open to hearing any suggestions. |
I took a look at the browser plugin tabliss I used, which also has feature to fetch photos from Unsplash and has a refer link, they get the refer link like this Then I found the unsplash API they used, originally written here, do will return JSON info like this:
I guess this is what we looking for? |
Now venus will download photos to OS temp path using filename such like
venus_7ztb88uy.jpg
, which7ztb88uy
is not the original id from unsplash.com url, for example:https://unsplash.com/photos/z5jH3tdupIo
. This makes it hard to find out the photo's source.I think it will be convenient to implementing this feature.
Regards.
The text was updated successfully, but these errors were encountered: