Hello,
I am trying to download the new stories images from the online news reports responses retrieved using the RKD API.
I am not able to use the image refs to download the images from the online reports.
For example, this is part of the json response from the API call GetHeadlines_Request_2 on the topic OLCASPORT .
"StoryDate": "20210827T144447+0000",
"Img": {
"Ref": "urn:newsml:onlinereport.com:20210827:nRTROPT20210827144447LYNXMPEH7Q0NY-OCASP",
"Title": "FILE PHOTO: Serie A - Udinese v Juventus",
"Date": "20210827T144447+0000"
}
I extracted the Ref from the Imgs from my responses, added them into the story request body and made an API call GetSummaryByStories_Response_1. Then, from the response, I extracted the BaseRefSecure urI and used that to download the images, but it did not work.
The downloaded images do not correspond to the image file names (as in, the downloaded image file name would be tokyo olympics tennis but the image content would be a picture of Joe Biden) and duplicates are also downloaded.
Any other ways I could download the new stories images?