:param folder: Folder name that will save the posts :param password: Password for Log-in in Instagram :param username: Username or E-mail for Log-in in Instagram Using threads and multiprocessing improving the execution speedįrom import NoSuchElementException, TimeoutExceptionįrom import WebDriverWaitįrom import expected_conditions as ECįrom import Byįrom concurrent.futures import ThreadPoolExecutorĭef _init_(self, username: str, password: str, folder: Path, profile_name: str): Log in in instragram using selenium and navigate to the profileĬhecking the availability of Instagram profile if it's private or existingĬreates a folder with the name of your choice Python script that can downloads public and private profiles images and videos, like Gallery with photos or videos.