Comments (6)
Commit 8572e52 makes options --hastag-username
and --no-profile-subdir
obsolete and removes them.
In the latest v2-dev version, the behavior of the former --hastag-username --no-profile-subdir
can be achieved with passing
--dirname-pattern='.' --filename-pattern='{profile}__{date:%Y-%m-%d_%H-%M-%S}'
Happy instaloading!
from instaloader.
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
pip3 install --upgrade git+https://github.com/Thammus/instaloader@v2-dev
Happy instaloading!
Alex
from instaloader.
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.
from instaloader.
The latest commit adds the option --hashtag-username
to lookup the owner's username for each picture when downloading by-hashtag, and use it to select the file's directory to download to, as it is the default when downloading by-profile.
Thus, to get your desired behavior, you can now call Instaloader with
instaloader --hashtag-username --no-profile-subdir #cat
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,
Alex
from instaloader.
Thanks, @aandergr!
from instaloader.
I really appreciate your help, Alex! 🙂
from instaloader.
Related Issues (20)
- ConnectionException: JSON Query to graphql/query: HTTP error code 401. HOT 1
- Multiple post owners HOT 1
- User agent mismatch, changed many useragents but to no avail, still the same error. HOT 5
- Get hashtag #vegan: JSON Query to explore/tags/vegan/: 404 Not Found HOT 4
- Different exit codes for different failure types HOT 4
- Add more return fields on 'get_sidecar_nodes' method HOT 1
- Error downloading IGTV files
- The procedure entry point PssQuerySnapshot could not be located in the dynamic link library KERNEL32.dll. HOT 2
- How to download 615_import_firefox_session.py
- Is it possible to download a instagram reel with audio, using instaloader? HOT 2
- Trying to load_session_from_file, but it's looking in /var/folders/...
- Unable to download videos posted by users on Reels. HOT 1
- 401 error using post.get_comments(). HOT 1
- posts views not accurate HOT 1
- Fatal error: Login error: "fail" status, message "CSRF token missing or incorrect". HOT 1
- Top comments often missing
- Trying to download comments of a public post, do I need to login first? HOT 1
- How to download Ig story only using cmd command? download more than 1500 posts? HOT 2
- ..
- Downloading saved posts, graphql query gets redirected to homepage and fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instaloader.