from http import client

from instagrapi import Client
user = "hert2421"
password = "Hacking@6344"
cl = Client()
cl.login(user,password)
user_id = cl.user_id_from_username("jyotikumari003")
pk = cl.media_pk_from_code('ChzFcPRBLpw')
cl.media_pk_from_url ("https://www.instagram.com/p/"+str(pk))
str (pk)
video_url = cl.media_info(pk).video_url
cl.video_download_by_url(video_url, folder='/Users/jitendersingh/Documents/')


0 comments:

Post a Comment

 
Top