The Flickr service API doesn’t seem to have the getfavorites() request implemented. Is there an good way to do this with WebExecute
?
Code to get started with:
For a given user, say 7944912@N05, there are n pages for which one can manually extract images:
s = StartWebSession[];
WebExecute[s,
"OpenPage" ->
"https://www.flickr.com/photos/7944912@N05/favorites/page1/"]
possibleimageurls = WebExecute[s, "PageHyperlinks"];
Length@possibleimageurls
i = Import@
"https://live.staticflickr.com/4278/34611590423_5f44dc95d2_k.jpg";
{Thumbnail@i, ImageDimensions[i]}
But I don't know how to enumerate the highest resolution ones.
ServiceConnect
paclet to add the request. That on its own isn't too hard. Just find the paclet withPacletFind
and figure out where they implement all their requests. $\endgroup$PacletFind["ServiceConnect_Flickr"]["Location"]
. There’ll be a Kernel folder. Inside that there should be like Flickr.m or something. That’s where all the API requests are implemented. $\endgroup$