Instabot
In this session we learn how to upload picture using python library called instabot .
How to instabot on your pc .
step 1:
go to the START, search cmd then, press enter key
after that your command prompt is open as show in the given picture : -
step 2:
you have to type pip install instbot and press ENTER on the command prompt as shown in picture below : -
AFTER doing this all steps then your instabot is successfully installed on your pc . as shown in picture below : -
now go to the OPEN your IDLE and write the code below : -
Source Code
from instabot import Bot
bot=Bot()
bot.login(username= "yout username ",password="your password")
bot.upload_photo("C:/Users/ajay pandit/Desktop/UtubDownloader 18-03-2021 08_17_23.png" ,caption=" write caption here " )
No comments:
Post a Comment