-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profile ID in filename #22
Comments
Hi Mateus, thanks for your interest in our tool! Normally, Instaloader uses directory names to encode the profile ID, i.e. pictures are usually downloaded into PROFILE/TIMESTAMP.jpg. My latest commit, 591dfd3, adds the option --no-profile-subdir to download the pictures into PROFILE__TIMESTAMP.jpg, as you suggested. However, it is still in the v2-dev branch which requires a bit of testing until we merge it into the master branch and release a new version. Nevertheless, you may already install it with Happy instaloading! |
Anyway, in the case of downloading hashtags, instead of the profile ID, the hashtag name is encoded in the downloaded file's path, leaving this issue unresolved. I will soon take a deeper look into how we could determine the profile ID in the case of downloading by hashtag. |
Thanks, @aandergr! |
With --hashtag-username given, if downloading per #hashtag, instead of per username, for each picture an additional request to the Instagram server is issued to lookup the picture's username. Instead of storing files in #hashtag/timestamp.jpg, files are stored in username/timestamp.jpg as it is the default when not downloading per hashtag. This closes #22.
The latest commit adds the option Thus, to get your desired behavior, you can now call Instaloader with We leave this issue open until the recent commits have been well tested and merged into master branch. caf75a8 was a long-awaited refactoring and I fear that it broke things. Best regards, |
I really appreciate your help, Alex! 馃檪 |
Commit 8572e52 makes options In the latest v2-dev version, the behavior of the former Happy instaloading! |
Firstly, thanks for this great tool 馃檪
I have a question: would it be possible to save the profile ID in file names?
Example:
#cat
@cute_cats
@catsofjapan
@catmania
cute_cats__2017-06-24_14-30-06.jpg
catsofjapan__2017-06-24_14-30-20.jpg
catmania__2017-06-24_14-30-36.jpg
catmania__2017-06-24_14-31-24.mp4
The text was updated successfully, but these errors were encountered: