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 complete\n.")
This is my code, I have tried to download with an account logged in as well but it does not even download a single post (no exception was raised).
profile thuwu_ could also be downloaded anonymously. Retrieving posts
from profile thuwu_.
* Download complete .
Process finished with exit code 0
The problem here was it used to run flawlessly, I don't know what the problem here. And I tried to change my IP also but that does not work either.
0 comments:
Post a Comment
Thanks