Guest User

config.json

a guest
Sep 16th, 2022
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.59 KB | None | 0 0
  1. {
  2.     "extractor":
  3.     {
  4.         "base-directory": null,
  5.  
  6.         "#": "replace invalid path characters with unicode alternatives",
  7.         "path-restrict": {
  8.             "\\": "⧹",
  9.             "/" : "⧸",
  10.             "|" : "│",
  11.             ":" : "꞉",
  12.             "*" : "∗",
  13.             "?" : "?",
  14.             "\"": "″",
  15.             "<" : "﹤",
  16.             ">" : "﹥"
  17.         },
  18.  
  19.  
  20.         "parent-directory": false,
  21.         "postprocessors": null,
  22.         "cookies": null,
  23.         "cookies-update": true,
  24.         "proxy": null,
  25.         "skip": "abort:3",
  26.  
  27.         "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
  28.         "retries": 4,
  29.         "timeout": 30.0,
  30.         "verify": true,
  31.         "fallback": true,
  32.  
  33.         "sleep": 0,
  34.         "sleep-request": 0,
  35.         "sleep-extractor": 0,
  36.  
  37.         "path-replace": "",
  38.         "path-remove": "\\u0000-\\u001f\\u007f",
  39.         "path-strip": "auto",
  40.         "extension-map": {
  41.             "jpeg": "jpg",
  42.             "jpe" : "jpg",
  43.             "jfif": "jpg",
  44.             "jif" : "jpg",
  45.             "jfi" : "jpg"
  46.         },
  47.  
  48.  
  49.         "deviantart":
  50.         {
  51.             "client-id": "xxx",
  52.             "client-secret": "yyy",
  53.             "refresh-token": "cache",
  54.             "comments": true,
  55.             "extra": true,
  56.             "flat": true,
  57.             "folders": false,
  58.             "include": "gallery,journal,scraps",
  59.             "journals": "html",
  60.             "mature": true,
  61.             "metadata": true,
  62.             "original": true,
  63.             "wait-min": 0,
  64.             "filename": "{date:%Y-%m-%d %H.%M.%S} {title}.{extension}"
  65.         },
  66.         "inkbunny":
  67.         {
  68.             "username": "xxx",
  69.             "password": "yyy",
  70.             "orderby": "create_datetime",
  71.             "filename": "{blog[name]} {date:%Y-%m-%d %H.%M.%S} {title} {num:>02}.{extension}"
  72.         },
  73.         "tumblr":
  74.         {
  75.             "api-key": "xxx",
  76.             "api-secret": "yyy",
  77.             "avatar": false,
  78.             "external": true,
  79.             "inline": true,
  80.             "metadata": true,
  81.             "posts": "all",
  82.             "reblogs": true,
  83.             "filename": "{blog[name]} {date:%Y-%m-%d %H.%M.%S} {slug} {num:>02}.{extension}"
  84.         },
  85.         "twitter":
  86.         {
  87.             "username": "xxx",
  88.             "password": "yyy",
  89.             "archive": null,
  90.             "cards": false,
  91.             "conversations": false,
  92.             "pinned": false,
  93.             "quoted": true,
  94.             "replies": true,
  95.             "retweets": true,
  96.             "strategy": null,
  97.             "text-tweets": true,
  98.             "twitpic": false,
  99.             "unique": true,
  100.             "users": "timeline",
  101.             "videos": true,
  102.             "filename": {
  103.               "count == 1 and len(content) == 0"  : "{author[name]} {date:%Y-%m-%d %H.%M.%S}.{extension}",
  104.               "count > 1 and len(content) == 0"   : "{author[name]} {date:%Y-%m-%d %H.%M.%S} {num}.{extension}",
  105.               "count == 1 and len(content) > 0"   : "{author[name]} {date:%Y-%m-%d %H.%M.%S} {content[0:180]}.{extension}",
  106.               ""                                  : "{author[name]} {date:%Y-%m-%d %H.%M.%S} {content[0:180]} {num}.{extension}"
  107.             },
  108.             "directory": {
  109.               "retweet_id"              : ["{category}", "{user[name]}", "Retweets"],
  110.               "locals().get('quote_by')": ["{category}", "{user[name]}", "Quoted"],
  111.               ""                        : ["{category}", "{user[name]}"]
  112.             }
  113.         },
  114.  
  115.     "downloader":
  116.     {
  117.         "filesize-min": null,
  118.         "filesize-max": null,
  119.         "mtime": true,
  120.         "part": true,
  121.         "part-directory": null,
  122.         "progress": 3.0,
  123.         "rate": null,
  124.         "retries": 4,
  125.         "timeout": 30.0,
  126.         "verify": true,
  127.  
  128.         "http":
  129.         {
  130.             "adjust-extensions": true,
  131.             "headers": null
  132.         },
  133.  
  134.         "ytdl":
  135.         {
  136.             "format": null,
  137.             "forward-cookies": false,
  138.             "logging": true,
  139.             "module": null,
  140.             "outtmpl": null,
  141.             "raw-options": null
  142.         }
  143.     },
  144.  
  145.     "output":
  146.     {
  147.         "mode": "auto",
  148.         "progress": true,
  149.         "shorten": true,
  150.         "ansi": false,
  151.         "colors": {
  152.             "success": "1;32",
  153.             "skip"   : "2"
  154.         },
  155.         "skip": true,
  156.         "log": "[{name}][{levelname}] {message}",
  157.         "logfile": null,
  158.         "unsupportedfile": null
  159.     },
  160.  
  161.     "netrc": false
  162. }
Advertisement
Add Comment
Please, Sign In to add comment