Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get a image or video url from IG post?

I need crawl image and video from instagram post link (example:https://www.instagram.com/p/BZiTZWXABMp). When use normal request of python, I didn't recevie image url in html response. Please help me get it.

like image 389
Cường Võ Quốc Avatar asked Dec 03 '22 21:12

Cường Võ Quốc


1 Answers

It's very simple Just try adding /media?size=l at the end of your Instagram post link.

https://www.instagram.com/p/BZiTZWXABMp/media/?size=l
like image 63
Akram Chauhan Avatar answered Dec 20 '22 12:12

Akram Chauhan