Download Insta Profile pictures using python method 1

"""
Spyder Editor

This is a temporary script file.
"""


import requests
from bs4 import BeautifulSoup

username = "usernamea"
#enter above user name of the person you want to download the instagram profile picture

URL="https://www.instagram.com/{}/"

rq = requests.get(URL.format(username))
ss =BeautifulSoup(rq.text,"html.parser")
w=ss.find("meta",property="og:image")

url= w.attrs['content']

with open(username +' .jpg', "wb") as pic:
  binary= requests.get(url).content
  pic.write(binary)







#instagram #profile #download #picture #method 1



check the variable url output & copy that url & paste in browser to open the picture

Featured Post

Day 41 — BGP Confederations: Sub-AS Design, External View and Migration

1. Opening Confederations are another way to scale BGP inside a large administrative domain. They divide the domain into member autonomous systems while presenting a single confederation identifier to external peers. They are powerful, but their operational model is more complex than simply 'using private ASNs inside.' The engineering goal is not to memorize another BGP command. It is to understand what information each speaker is allowed to propagate, what path information can be hidden, and what failure domain is created by the chosen control-plane architecture . 2. Concept and standards behavior RFC 5065 defines AS_CONFED_SEQUENCE and AS_CONFED_SET and how member-AS relationships are represented. Confederation external sessions have eBGP-like properties inside the confederation, while the confederation is presented externally as one AS. Modern guidance must also account for the fact that RFC 9774 prohibits new origination of AS_SET/AS_CONFED_SET in ordinary aggregation c...