add a few more examples to gallery-dl-example.conf

- include 'igneous' and 'hath_perks' in Exhentai cookies
- add an example of how to write DeviantArt description to file
- add a 'path-restrict' mapping from invalid characters in Windows
  paths to Unicode alternatives (taken from #662)
This commit is contained in:
Mike Fährmann
2020-05-22 01:26:58 +02:00
parent bc53302ad6
commit 7003e61d1d

View File

@@ -48,7 +48,9 @@
"cookies":
{
"ipb_member_id": "12345",
"ipb_pass_hash": "1234567890abcdef"
"ipb_pass_hash": "1234567890abcdef",
"igneous" : "123456789",
"hath_perks" : "m1.m2.m3.a-123456789a"
},
"proxy":
@@ -74,6 +76,19 @@
}]
},
"deviantart":
{
"include": "gallery,scraps",
"metadata": true,
"postprocessors": [{
"name": "metadata",
"mode": "custom",
"directory" : "Descriptions",
"content-format" : "{description}\n",
"extension-format": "descr.txt"
}]
},
"flickr":
{
"access-token": "1234567890-abcdef",
@@ -134,6 +149,19 @@
"foolfuuka": {
"fireden-onion": {"root": "http://ydt6jy2ng3s3xg2e.onion"},
"scalearchive": {"root": "https://archive.scaled.team" }
},
"replace invalid path characters with unicode alternatives": null,
"path-restrict": {
"\\": "",
"/" : "",
"|" : "",
":" : "",
"*" : "",
"?" : "",
"\"": "″",
"<" : "﹤",
">" : "﹥"
}
},