如何从Instagram链接中找到mp4视频链接

Ale*_*oul 5 api video instagram

我在类似Facebook的社交网络上工作,需要从Instagram链接中提取mp4.

对于照片很简单: url_shared =" http://instagram.com/p/a69ygTTHKq/ "photo_to_embed = url_shared +"?size = t"

你知道类似的东西找到与mp4的直接链接吗?我尝试使用他们的API并将扩展名从".jpg"更改为".mp4",但由于它不能一直工作而失败.

例如:http: //api.instagram.com/oembed?url = http://instagram.com/p/bCgbJ2pgCi/返回 { provider_url: "http://instagram.com/", media_id: "487094313204187298_9762431", title: "So did you download our "Hockey Community" app yet? If you like hockey even just a bit you should do it now!!'", url: "http://distilleryimage2.ak.instagram.com/d79af376deb011e2922a22000a1fdc29_7.jpg", author_name: "hockeycommunity", height: 612, width: 612, version: "1.0", author_url: "http://instagram.com/hockeycommunity", author_id: 9762431, type: "photo", provider_name: "Instagram" }

data.url =" http://distilleryimage2.ak.instagram.com/d79af376deb011e2922a22000a1fdc29_ 7.jpg ",视频链接实际上是" http://distilleryimage2.ak.instagram.com/d79af376deb011e2922a22000a1fdc29_ 101.mp4 "

只有文件名的末尾发生变化,但无法弄清楚规则是什么......

资源: