Yummly

フリーミアム
Verified
よって Api Dojo | 更新済み 12日前 | Food
人気

9.6 / 10

レイテンシー

3,560ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Video

Rapid account: Lukas Viliams
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年前

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年前

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年前

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年前

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年前

Hello,

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

Regards.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿