2018-10-09 08:04:27 -07:00
|
|
|
Config
|
|
|
|
------
|
|
|
|
|
|
|
|
You can configure the tool to suit your needs by using ``config.json``.
|
|
|
|
|
|
|
|
This can be found under:
|
|
|
|
|
|
|
|
- ``~/.config/anime-downloader`` on Linux
|
|
|
|
|
|
|
|
- ``C:\Users\[Username]\AppData\Roaming\anime downloader`` on Windows
|
|
|
|
|
2020-07-20 15:04:47 -07:00
|
|
|
- ``~/Library/Application Support/anime downloader`` on MacOS
|
2020-04-10 02:36:06 -07:00
|
|
|
|
2020-07-20 15:04:47 -07:00
|
|
|
You can override the settings in the ``config.json`` with the following command line
|
2018-10-09 08:04:27 -07:00
|
|
|
arguments.
|
|
|
|
|
|
|
|
The default config file is given below.
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
2019-07-17 10:12:42 -07:00
|
|
|
{
|
|
|
|
"dl": {
|
2020-05-16 01:30:17 -07:00
|
|
|
"aria2c_for_torrents": false,
|
|
|
|
"chunk_size": "10",
|
2019-07-17 10:12:42 -07:00
|
|
|
"download_dir": ".",
|
|
|
|
"external_downloader": "{aria2}",
|
|
|
|
"fallback_qualities": [
|
|
|
|
"720p",
|
|
|
|
"480p",
|
|
|
|
"360p"
|
|
|
|
],
|
|
|
|
"file_format": "{anime_title}/{anime_title}_{ep_no}",
|
|
|
|
"force_download": false,
|
|
|
|
"player": null,
|
2020-05-16 01:30:17 -07:00
|
|
|
"provider": "twist.moe",
|
2020-03-06 13:26:09 -08:00
|
|
|
"quality": "1080p",
|
2019-07-17 10:12:42 -07:00
|
|
|
"skip_download": false,
|
|
|
|
"url": false
|
|
|
|
},
|
|
|
|
"siteconfig": {
|
2020-05-16 01:30:17 -07:00
|
|
|
"animedaisuki": {
|
|
|
|
"servers": [
|
|
|
|
"official"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"animeflix": {
|
|
|
|
"fallback_servers": [
|
|
|
|
"FastStream"
|
|
|
|
],
|
|
|
|
"server": "AUEngine",
|
|
|
|
"version": "sub"
|
|
|
|
},
|
2019-07-17 10:12:42 -07:00
|
|
|
"animeflv": {
|
|
|
|
"server": "natsuki",
|
|
|
|
"version": "subbed"
|
|
|
|
},
|
2020-05-16 01:30:17 -07:00
|
|
|
"animekisa": {
|
|
|
|
"fallback_servers": [
|
|
|
|
"mp4upload",
|
|
|
|
"vidstream"
|
|
|
|
],
|
|
|
|
"server": "gcloud"
|
|
|
|
},
|
|
|
|
"animerush": {
|
|
|
|
"fallback_servers": [
|
|
|
|
"MP4Upload",
|
|
|
|
"Mp4upload Video",
|
|
|
|
"Youruploads Video"
|
|
|
|
],
|
|
|
|
"server": "Mp4uploadHD Video"
|
|
|
|
},
|
|
|
|
"animesimple": {
|
|
|
|
"server": "trollvid",
|
|
|
|
"version": "subbed"
|
|
|
|
},
|
2019-07-17 10:12:42 -07:00
|
|
|
"anistream.xyz": {
|
|
|
|
"version": "subbed"
|
|
|
|
},
|
2020-05-16 01:30:17 -07:00
|
|
|
"dreamanime": {
|
|
|
|
"server": "trollvid",
|
|
|
|
"version": "subbed"
|
|
|
|
},
|
|
|
|
"dubbedanime": {
|
|
|
|
"servers": [
|
|
|
|
"vidstream",
|
|
|
|
"mp4upload",
|
|
|
|
"trollvid"
|
|
|
|
],
|
|
|
|
"version": "dubbed"
|
|
|
|
},
|
|
|
|
"gogoanime": {
|
|
|
|
"server": "cdn"
|
|
|
|
},
|
|
|
|
"kickass": {
|
|
|
|
"ext_fallback_servers": [
|
|
|
|
"Mp4Upload",
|
|
|
|
"Vidcdn",
|
|
|
|
"Vidstreaming"
|
|
|
|
],
|
|
|
|
"fallback_servers": [
|
|
|
|
"ORIGINAL-QUALITY-V2",
|
|
|
|
"HTML5-HQ",
|
|
|
|
"HTML5",
|
|
|
|
"A-KICKASSANIME",
|
|
|
|
"BETAPLAYER",
|
|
|
|
"KICKASSANIME",
|
|
|
|
"DEVSTREAM"
|
|
|
|
],
|
|
|
|
"server": "A-KICKASSANIME"
|
|
|
|
},
|
2019-07-17 10:12:42 -07:00
|
|
|
"nineanime": {
|
|
|
|
"server": "mp4upload"
|
2020-05-16 01:30:17 -07:00
|
|
|
},
|
|
|
|
"ryuanime": {
|
|
|
|
"server": "trollvid",
|
|
|
|
"version": "subbed"
|
|
|
|
},
|
|
|
|
"vidstream": {
|
|
|
|
"servers": [
|
|
|
|
"vidstream",
|
|
|
|
"gcloud",
|
|
|
|
"mp4upload",
|
|
|
|
"cloud9",
|
|
|
|
"hydrax"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"watchmovie": {
|
|
|
|
"fallback_servers": [
|
|
|
|
"fembed",
|
|
|
|
"yourupload",
|
|
|
|
"mp4upload"
|
|
|
|
],
|
|
|
|
"server": "gcloud"
|
2019-07-17 10:12:42 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"watch": {
|
2020-05-16 01:30:17 -07:00
|
|
|
"fallback_qualities": [
|
|
|
|
"720p",
|
|
|
|
"480p",
|
|
|
|
"360p"
|
|
|
|
],
|
2019-07-17 10:12:42 -07:00
|
|
|
"log_level": "INFO",
|
2020-05-16 01:30:17 -07:00
|
|
|
"provider": "twist.moe",
|
2020-03-06 13:26:09 -08:00
|
|
|
"quality": "1080p"
|
2019-07-17 10:12:42 -07:00
|
|
|
}
|
|
|
|
}
|
2018-10-09 08:04:27 -07:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
- For the key ``file_format``, you can set ``anime_title``\ (which refers to the title of the anime) and ``ep_no`` which is the number of the epiosde.
|
|
|
|
- If you set ``player`` in ``dl``, the tool will never download, only play in the set player.
|
|
|
|
- If you set ``force_download``, it will redownload even if the epiosde has already been downloaded.
|
2020-05-16 01:30:17 -07:00
|
|
|
Choosing preferred server
|
|
|
|
########
|
|
|
|
``server`` contains the preferred server.
|
|
|
|
|
2020-07-20 15:04:47 -07:00
|
|
|
``servers`` contains a list of servers, used in order. Set the preferred server by changing the order of the list.
|
2020-05-16 01:30:17 -07:00
|
|
|
|
|
|
|
``fallback_servers`` contains a list of servers to use if the primary server is not found, used in order.
|
|
|
|
|