Skip to main content

Posts

Showing posts from February, 2021

Automate Your Instagram account using Python in less than 10 lines of code

Prerequisite Requirements : Python latest version:  https://www.python.org/downloads/ Firefox:  https://www.mozilla.org/en-US/firefox/new/ Selenium Tool:  https://selenium-python.readthedocs.io/installation.html Installation : Open CMD in windows Type this command '' pip install instapy" Or  You can visit this website for installation:  https://pypi.org/project/instapy/ After entering the command just click "Enter" it will automatically install all required files After installation completed open a new file and save it as 'anyname'.py Open the file with any editor and type the below code " Quickstart script for InstaPy usage " # imports from instapy import InstaPy from instapy import smart_run # login credentials insta_username = 'developerstruggle' # <- enter username here insta_password = '' # <- enter password here session = InstaPy ( username = insta_username , password = in...