Gallery-dl: Cannot find the gallery-dl.conf file?

Created on 18 Nov 2018  路  5Comments  路  Source: mikf/gallery-dl

Hi there. I installed gallery-dl through python3 systemwide on ubuntu. So I know it cannot be in my home folder.
Unable to find the gallery-dl.conf file. Looked at all the 3 places you said it'd be. But nothing.
Gallery-dl works just fine, so I know the file has to be on the system somewhere.
The program itself is in /usr/local/lib/python3.5/dist-packages/gallery_dl.
Any idea? I looked through the files that the setup.py file installed, but no mention of the gallery-dl.conf file.

question

All 5 comments

The program searches at those 3 places for files and tries to read and parse them if present, but it is your own responsibility to put something there in the first place.

You can find an example with all default values at
https://github.com/mikf/gallery-dl/blob/master/docs/gallery-dl.conf
Save this file and move it to one of those locations (and rename it if necessary).

so I know the file has to be on the system somewhere.

Well, no. It uses builtin default values so it can work without a config file.

@blackoutworm Any other questions? If not, please think about closing this issue.

But why can't you include this file in the installation?
Why do I have to download this separately? Kinda odd and confusing.

No, that's not odd and confusing, this is how such a program is expected to behave.
Besides, there is no "installation" here. It is just a self-contained binary file to run. Much better.

And by the way, you don't have to download this file, you can create it yourself locally from scratch.

A default config file could technically be included in the Python package, but you would still have to copy it to the appropriate location. It is also kind of unnecessary, as all the config values in there are the defaults which would get used without a config file.

In general, you can use gallery-dl without any extra configuration, but you can use a config file if need be and if you don't want to write it from scratch you have a template with default values available to give you a general idea of what it could/should look like.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OvertPerson picture OvertPerson  路  5Comments

colpocleisis picture colpocleisis  路  3Comments

Nippey picture Nippey  路  4Comments

kattjevfel picture kattjevfel  路  6Comments

CaptainJawZ picture CaptainJawZ  路  5Comments