Git Product home page Git Product logo

Comments (6)

aandergr avatar aandergr commented on May 20, 2024 3

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.

aandergr avatar aandergr commented on May 20, 2024 2

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.

aandergr avatar aandergr commented on May 20, 2024 1

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.

aandergr avatar aandergr commented on May 20, 2024 1

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.

mmoraes avatar mmoraes commented on May 20, 2024

Thanks, @aandergr!

from instaloader.

mmoraes avatar mmoraes commented on May 20, 2024

I really appreciate your help, Alex! 🙂

from instaloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.