-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions, Feedback, Suggestions #5 #6582
Comments
Any news or thoughts on version 2.0? Anything we can do to help? |
is Facebook supported? whenever I try to download from a page using this
it says Unsupported URL |
@noshii117 Yes, it should be, make sure you are actually running the latest version of gallery-dl.. |
Got a bit of a pickle. I use gallery-dl inside a WSL instance. Not usually a problem because I can point to a mounting path. However, I've come across an instance where I need to use yt-dlp with gallery-dl, and I don't know how I'd pass my Window's browser cookies to yt-dlp in the |
@biggestsonicfan
When using yt-dlp as downloader, it can directly use gallery-dl's cookies via @SpiffyChatterbox |
Hey there, is there any way to change how an enumeration index is put into a file name when using |
@nightbrd |
@nightbrd You can simply use on of the bajillion already existing tools for renaming files, or write a shell script on your own. As long as the names are consistent, you can easily turn something like |
very late but, yes, it's the first thing I did and it's the same result. |
Tried about everything at this point and I am unsure if it's a race condition or something is just not getting passed correctly, but please see attached verbose output. The link itself is a publicly shared video on patreon. EDIT: Not gonna double post, but I will ask: Is there a way I can run my own automated tests to see if my configuration will give me the results I want instead of constantly jumping back and forth between my config file? I'm still trying to figure out how to dump my json metadata into "paid-posts", "unpaid-posts", and categorizing the metadata into the corresponding cost tier. I feel like it shouldn't be this hard but I am ashamed to have as spent as much time as I have trying to get it to work. |
Not sure what kind of automated testing exactly you mean here, but I think (have not really tried this for myself, to be honest, but I want to as well, because it seems very useful to me) gallery-dl has these I'm not sure if |
Is artfight.net supported? |
I actually can't get EDIT: I feel so stupid. Ever since this post, I thought I needed to use |
Is it possible to store the Deviation UUID for each download? As you can only download 10,000 images it would help if I could un-favourite some to download more. To un-fave them I could use curl - https://www.deviantart.com/developers/console/collections/collections_unfave/af7303d7e9023da0bbd6df11c2f38728. Even the Deviant Art site fails to display more than 10,000 itself - it shows I have 1700 pages, but stops at 417 (at 24 items per page that's 10,008 images). |
@rsn-yk @roastme |
|
For whatever reason your link downloads without any problems for me: Maybe because I'm not passing a
It is also not forwarding gallery-dl cookies to yt-dlp for you. Try it with
If your results include post processor files, then Maybe specifying a different
There have been some changes to how accessing undefined variables in filters work in general, see
I'd recommend |
Okay, so for the record, when doing something like "debugging" your conditional naming settings used in your config, you probably want to use |
Is there a way to make the current extractor abort only if it encounters X amount of threads with no new posts? It's downloading them in order from old to new, so it has to go through all the old posts in a thread before finding any new ones. |
@Wiiplay123
Depending on the site and if it provides
|
I use that for other cases, but it doesn't work here because it's encountering the old files first. Thread 1 Post 1 (Old) |
That was my issue, it always returned
That did the trick! So I will use EDIT: Actually, is there a global |
@biggestsonicfan {
"downloader": {
"ytdl": {
"forward-cookies": true
}
}
} Actually, |
@Wiiplay123 config.json {
"extractor": {
"postprocessors": [
{
"name": "python",
"event": "init",
"function": "/tmp/chan.py:thread_init"
},
{
"name": "python",
"event": "finalize",
"function": "/tmp/chan.py:thread_done"
},
{
"name": "python",
"event": "file",
"function": "/tmp/chan.py:reset"
}
]
}
} chan.py from gallery_dl import exception
THREAD_MAX = 3
THREAD_CNT = 0
def reset(_):
global THREAD_CNT
THREAD_CNT = 0
def thread_init(_):
global THREAD_CNT
THREAD_CNT += 1
def thread_done(_):
if THREAD_CNT >= THREAD_MAX:
print("DONE")
raise exception.TerminateExtraction() |
Took me a while to get around to trying it, just made a few changes and it works perfectly! Makes the extractor go a LOT faster. I added a second reset for a "metadata" event that I added to metadata.py that runs every time metadata is written without skipping, to account for text-only posts. I upgraded a couple of the extractors to work better with text posts. I'll push the changes to my repo when I have time. |
This comment was marked as spam.
This comment was marked as spam.
^ #6721 please don't post (even more) spam here |
Ding ding ding! I did, in my |
I have access to a danbooru instance that is running on a custom domain. |
That worked, thank you for the quick reply! |
Can someone help me write a script that opens the downloaded image? If one image is downloaded, it should open that image; if multiple images are downloaded, it should open the containing folder. If it's not possible let me know. |
Use a postprocessor in your config file:
or for example
The event
|
Is there a proper way to add multiple formatter in filenames? I wanna do somehing like |
Use the
|
If I want to install using pipx on Ubuntu 24.04, is this the correct install command?: |
this is not officially supported, but you can do it that way, yes. |
@WyohKnott Here's the code I put together based on yours and some information I found, but I'm running into an error: "'exec' initialization failed: KeyError: 'command'".
|
{
"extractor": {
"instagram": {
"postprocessors": ["exec-explorer"]
}
},
"postprocessor": {
"exec-explorer": {
"name" : "exec",
"event" : "post-after",
"command": "explorer.exe {_directory}"
}
}
} |
re-raising this suggestion (#5262 (comment)) since it might have been missed the first time (feel free to shoot it down though)
|
Hi @mikf , How to use and is it possible to define postprocessors in extractor file. |
@baodrate
What about creating an alias that includes alias gallery-dl='gallery-dl --config-ignore --config-toml FILE' @ghbook or disable all extractor modules except
What do you mean by that? A file given by |
How do I download all the replies to a Bluesky post made by the post's author themselves, I can't even manage to download all the replies, here's the relevant config section:
|
Its an another question, not related to input file. I was talking about Also last question, are there any helper methods to get real directory, filename in |
@arisboch
"depth": 50,
"metadata": true,
"image-filter": "user['did'] == author['did']" For "timeline" URLs like https://bsky.app/profile/bsky.app, this is not supported yet. @ghbook |
Continuation of the previous issue as a central place for any sort of question or suggestion not deserving their own separate issue.
Links to older issues: #11, #74, #146, #5262.
The text was updated successfully, but these errors were encountered: