Comments (4)
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.
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.
Please comment if you have trouble with this feature, and I'll reopen the issue.
from instalooter.
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)
- No medias found for specific account HOT 2
- getting error CRITICAL 'NoneType' object has no attribute 'group' while fetching content
- Option to use a more simple "time" naming variable instead of the current one HOT 1
- num-to-dl limits the amount of posts not the amount of images HOT 1
- Segmentation fault error in Ubuntu 20.04 / Parallels M1
- Does not allow for inputting password HOT 2
- InvalidChunkLength HOT 1
- 'NoneType' object has no attribute 'group' HOT 1
- get_post_info(): KeyError: 'graphql'
- if 'graphql' in data['entry_data']['PostPage'][0]: ] HOT 1
- I am getting "graphql Error" while fetching metaData of videos posts using instalooter 2.4.4. HOT 9
- Exception has occurred: AttributeError 'NoneType' object has no attribute 'group' HOT 12
- 'NoneType' object has no attribute 'group' HOT 7
- CRITICAL user not found: NASA
- error: no commands supplied
- SystemError: Login error: Token not found
- instalooter path not recogonized as ext or int ... HOT 1
- 'NoneType' object has no attribute 'group' HOT 6
- can someone help me?
- An error of type -10810 has occurred. Can't get application chome / firefox (-1728)
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 instalooter.