-
Hi, as an archivist, I try to crawl every single tweet from a specified user on Twitter, this includes anytime they quote a tweet and the quoted tweet itself. The issue I'm having is that both tweets will save in the same folder. Is there a way I can place the quoted tweet in that author's folder automatically with gallery-dl? Currently, I run gallery-dl through a script, and this is the command my script generally will spit out:
My config file looks like this:
I'm assuming I'll have to change the config and my script a little bit, which I'm open to, but I'm just unsure of what to change. I would like to have different download directories for different sites. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Do not use Use This will split Tweet downloads into separate directories depending on retweet/quote status: "directory": {
"retweet_id" : ["{category}", "{user[name]}", "Retweets", "{author[name]}"],
"locals().get('quote_by')": ["{category}", "{user[name]}", "Quoted" , "{author[name]}"],
"" : ["{category}", "{user[name]}"]
} |
Beta Was this translation helpful? Give feedback.
Do not use
-D
if you want to download into different directories.-D
forces all files to be downloaded into that specific directory.Use
-d
(lower case) orbase-directory
, together with appropriatedirectory
format strings.This will split Tweet downloads into separate directories depending on retweet/quote status: