Code Monkey home page Code Monkey logo

Comments (4)

althonos avatar althonos commented on August 27, 2024 1

Feature is out, here's the gist of it:
use the -T flag to give a template, using Python default template system ({value}) with the following available variables: ownerid, username, fullname, id, code, date, datetime, width, height, likescount, commentscount.

So for instance:

instaLooter profile dir -T {date}.{username}.{id}
instaLooter profile dir -T {date}.{username}.{id}
instaLooter profile dir -T anything_constant.{code}
instaLooter profile dir -T {width}x{height}.{likescount}.{id}

Just take care to use a unique identifier (either id, code or datetime) somewhere to avoid name collision.
Please be aware that some variables (username and fullname) require an extra lookup, so using them is costly when you are downloading pictures from a hashtag (on a single profile, the lookup is never done since metadata already contain the intel about the owner).

from instalooter.

althonos avatar althonos commented on August 27, 2024

Hi JFLarsen, thanks for feedback :)
If using the --add-metadata option, the upload date will be added to the exif (using the online Instagram date timestamp).

For the name, i'll start thinking of a nice way to customize the filenames, stay tuned !

from instalooter.

althonos avatar althonos commented on August 27, 2024

Please comment if you have trouble with this feature, and I'll reopen the issue.

from instalooter.

 avatar commented on August 27, 2024

Do you know of a way to batch rename already downloaded images? I mean, renaming from the EXIF tagdata. I tried using exiftool and py3exiv2, but couldn't do the job.

from instalooter.

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.