获取Facebook原始图片网址

时间:2016-02-14 13:55:36

标签: python url decode decoding

我想从Facebook链接中获取原始图片:

https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCPdu0qFIMkMPGN&w=470&h=246&url=https%3A%2F%2Fscontent-lax3-1.xx.fbcdn.net%2Fhphotos-xfp1%2Fv%2Ft1.0-9%2F12705743_10153625263299678_1238692121976712825_n.jpg%3Foh%3D0f330b83cd6f52cba12b06ea141af571%26oe%3D5723078F&cfs=1&upscale=1&sx=1&sy=0&sw=558&sh=292&ext=png2jpg

我通常做的是获取url参数的值并对其进行解码以获得S3链接。 将此应用于此链接的结果是

https://scontent-lax3-1.xx.fbcdn.net/hphotos-xfp1/v/t1.0-9/12705743_10153625263299678_1238692121976712825_n.jpg

但它给了我403回复。我该如何获得原始照片的链接?