Instaloader newest version 4.12.1 on Python 3.11.5 stopped downloading at the 12th post without giving me any exception even though the user has 48 downloadable posts.
L = instaloader.Instaloader(
download_videos=False,
download_video_thumbnails=False,
save_metadata=False,
user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
)
# L.login("USER", "PASS")
full_directory_path = os.path.join(root, username)
if not os.path.exists(full_directory_path):
os.makedirs(full_directory_path)
L.dirname_pattern = full_directory_path
L.download_profile(username,profile_pic=False)
print(Fore.GREEN + Style.BRIGHT + "n* Download completen.")
This is my code, I have tried to download with a account logged in as well but it does not even download a single post (no exception appeared). The problem here was it used to be run flawlessly, I don’t know what the problem here. And I tried to change my IP also but that does not work either.
Long Nguyen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.