fork download
  1. import json
  2. import sys
  3.  
  4. file = sys.stdin
  5. all_data = json.load(file)
  6. print(all_data['smallPictureUrl'])
  7. data = json.loads(all_data['timelineCoverPhoto'])
  8. print(data['photo']['image_lowres']['uri'])
Success #stdin #stdout 0.02s 8180KB
stdin
{"bigPictureUrl":"https://f...content-available-to-author-only...d.net/hprofile-ak-prn2/*.*.*.*/s200x200/*_*_*_*.jpg","timelineCoverPhoto":"{\"focus\":{\"x\":0.5,\"y\":0.40652557319224},\"photo\":{\"__type__\":{\"name\":\"Photo\"},\"image_lowres\":{\"uri\":\"https://f...content-available-to-author-only...d.net/hphotos-ak-prn2/*_*_*_a.jpg\",\"width\":180,\"height\":120}}}","subscribeStatus":"IS_SUBSCRIBED","smallPictureUrl":"https://f...content-available-to-author-only...d.net/hprofile-ak-prn2/*.*.*.*/s100x100/*_*_*_a.jpg","contactId":"**==","contactType":"USER","friendshipStatus":"ARE_FRIENDS","graphApiWriteId":"contact_*:*:*","hugePictureUrl":"https://f...content-available-to-author-only...d.net/hprofile-ak-prn2/*.*.*.*/s720x720/*_*_*_*.jpg","profileFbid":"*","isMobilePushable":"NO","lookupKey":null,"name":{"displayName":"* *","firstName":"*","lastName":"*"},"nameSearchTokens":["*","*"],"phones":[],"phoneticName":{"displayName":null,"firstName":null,"lastName":null},"isMemorialized":false,"communicationRank":0.4183731,"canViewerSendGift":false,"canMessage":true}
stdout
https://f...content-available-to-author-only...d.net/hprofile-ak-prn2/*.*.*.*/s100x100/*_*_*_a.jpg
https://f...content-available-to-author-only...d.net/hphotos-ak-prn2/*_*_*_a.jpg