Skip to content

Commit

Permalink
add a few more examples to gallery-dl-example.conf
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
mikf committed May 25, 2020
1 parent bc53302 commit 7003e61
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion docs/gallery-dl-example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand All @@ -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",
Expand Down Expand Up @@ -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": {
"\\": "⧹",
"/" : "⧸",
"|" : "│",
":" : "꞉",
"*" : "∗",
"?" : "?",
"\"": "″",
"<" : "﹤",
">" : "﹥"
}
},

Expand Down

0 comments on commit 7003e61

Please sign in to comment.