Gallery-dl: What if I Successfully installed gallery-dl, but i still cannot find gallery-dl.conf

Created on 21 Apr 2019  路  3Comments  路  Source: mikf/gallery-dl

I installed gallery-dl with the following results:

C:\Users\ucok66>pip install --upgrade gallery-dl
Collecting gallery-dl
  Downloading https://files.pythonhosted.org/packages/53/fb/288901735d7bb4954a11227d91c7d5e1d9ce3e55e592b7a1c90fa4795a18/gallery_dl-1.8.2-py3-none-any.whl (273kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 276kB 936kB/s
Collecting requests>=2.11.0 (from gallery-dl)
  Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 61kB 655kB/s
Collecting idna<2.9,>=2.5 (from requests>=2.11.0->gallery-dl)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 61kB 786kB/s
Collecting certifi>=2017.4.17 (from requests>=2.11.0->gallery-dl)
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 163kB 116kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.11.0->gallery-dl)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 143kB 128kB/s
Collecting urllib3<1.25,>=1.21.1 (from requests>=2.11.0->gallery-dl)
  Downloading https://files.pythonhosted.org/packages/df/1c/59cca3abf96f991f2ec3131a4ffe72ae3d9ea1f5894abe8a9c5e3c77cfee/urllib3-1.24.2-py2.py3-none-any.whl (131kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 133kB 655kB/s
Installing collected packages: idna, certifi, chardet, urllib3, requests, gallery-dl
Successfully installed certifi-2019.3.9 chardet-3.0.4 gallery-dl-1.8.2 idna-2.8 requests-2.21.0 urllib3-1.24.2

But i still cannot find gallery-dl.conf everywhare. Should i change the python configuration manually?

question

Most helpful comment

You have to create a configuration file in one of the locations mentioned in README.rst by yourself.
Examples can be found here and here.

If you just want to change the filename for twitter images like in #224, the following example does the trick:

{
  "extractor": {
    "twitter": {
      "filename": "{date}_{tweet_id}_{num}.{extension}"
    }
  }
}

All 3 comments

Hello ucok66,

ucok66 writes:

[...]
But i still cannot find gallery-dl.conf everywhare. Should i change the python configuration manually?
[...]

gallery-dl.conf is a configuration file and by default is not
present, i.e. if you need to customize gallery-dl behaviour you
can just populate it.

You have to create a configuration file in one of the locations mentioned in README.rst by yourself.
Examples can be found here and here.

If you just want to change the filename for twitter images like in #224, the following example does the trick:

{
  "extractor": {
    "twitter": {
      "filename": "{date}_{tweet_id}_{num}.{extension}"
    }
  }
}

Ohh, ok. Sorry, I'm new for this stuff. Also, thanks for the "date" option

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blackoutworm picture blackoutworm  路  5Comments

jtara1 picture jtara1  路  6Comments

colpocleisis picture colpocleisis  路  3Comments

indrakaw picture indrakaw  路  4Comments

Lin-Buo-Ren picture Lin-Buo-Ren  路  6Comments