Yummly

FREEMIUM
Verified
Durch Api Dojo | Aktualisiert 8 days ago | Food
Popularität

9.6 / 10

Latenz

3,561ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Video

Rapid account: Lukas Viliams
lukas.viliams
3 years ago
Hello, why I am not allowed to access the video. 

This is messsage in browser:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>TF9VYA5QZPBDC9QK</RequestId>
<HostId>TjpbjHkBFBTNp/AlFLIxRFw8n4WB79ARRKauf/kdLP9ovAcUmHOSAZD0I8BUsOy97hFfwGwM8xE=</HostId>
</Error>

Rapid account: Apidojo
apidojo Commented 3 years ago

Hello,

You should differ the two cases. There are Yummly URLs required Premium account to access the video. These URLs belong to recipes requiring Premium account to access. The others do not.

Ex :
These are url extracted from ‘originalVideoUrl’ field returned in …/feeds/list endpoint.
https://s3.amazonaws.com/videos-yummly/LiZUf4nQTdOi9d9VeC9V_E109_Orecchiette_with_Broccoli_Rabe_and_Sweet_Italian_Sausage_Montage.mp4
https://s3.amazonaws.com/videos-yummly/h0T7BnRDQRqMZnYHBhlH_Fried_Chicken_Montage.mp4
https://s3.amazonaws.com/videos-yummly/CcQzyAnvTbGdkio9EmFd_Montage_Creamy_Tomato_Alphabet_Pasta.mp4

I can open the URL directly in a web browser.

Regards.

Rapid account: Lukas Viliams
lukas.viliams Commented 3 years ago

Hello,
unfortunately this is not the case. If you use html Element video and define source you get 403 forbidden response and this one means that you do not have sufficient rights to access the content. In another words, you need to login before consuming content.
It’s pity anyway…

Rapid account: Apidojo
apidojo Commented 3 years ago

Hello,

I believe you need to use some HTTP client library and video player to load the link with some header information included. You cannot access the link directly by using web browser.

Regards.

Rapid account: Lukas Viliams
lukas.viliams Commented 3 years ago

Thank you, for reply.

For instance this one:
https://s3.amazonaws.com/videos-yummly/uIND283Qpqzcwir6rpoJ_Montage_Sheet_Pan_Chicken_Nachos-dash.mpd.mp4
I have tried to open new tab and also another browser but response is always the same.

Rapid account: Apidojo
apidojo Commented 3 years ago

Hello,

What was the url? How did you access the video? Did you simply open the link in a web browser?

Regards.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen