{"id":22374503,"url":"https://github.com/kevcui/animepahe-dl","last_synced_at":"2025-04-05T12:08:19.046Z","repository":{"id":40200642,"uuid":"245648981","full_name":"KevCui/animepahe-dl","owner":"KevCui","description":":arrow_down: animepahe anime downloader ","archived":false,"fork":false,"pushed_at":"2025-03-27T21:27:17.000Z","size":94,"stargazers_count":108,"open_issues_count":0,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T11:11:18.589Z","etag":null,"topics":["anime","animepahe","animepahe-downloader","bash-script","batch-download","download-anime-episodes"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KevCui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-07T14:38:12.000Z","updated_at":"2025-03-27T21:27:21.000Z","dependencies_parsed_at":"2024-01-28T13:04:02.429Z","dependency_job_id":"2acaced3-5083-4400-9105-4284f402ece1","html_url":"https://github.com/KevCui/animepahe-dl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fanimepahe-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fanimepahe-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fanimepahe-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fanimepahe-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KevCui","download_url":"https://codeload.github.com/KevCui/animepahe-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332612,"owners_count":20921853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime","animepahe","animepahe-downloader","bash-script","batch-download","download-anime-episodes"],"created_at":"2024-12-04T21:17:18.947Z","updated_at":"2025-04-05T12:08:19.018Z","avatar_url":"https://github.com/KevCui.png","language":"Shell","funding_links":["https://www.buymeacoffee.com/kevcui"],"categories":[],"sub_categories":[],"readme":"# animepahe-dl\n\n\u003e Download anime videos from [animepahe](https://animepahe.com/) in terminal\n\n## Table of Contents\n\n- [Dependency](#dependency)\n- [How to use](#how-to-use)\n  - [Example](#example)\n- [Disclaimer](#disclaimer)\n- [You may like...](#you-may-like)\n  - [Don't like animepahe? Want an alternative?](#dont-like-animepahe-want-an-alternative)\n  - [Want to know when the new episode of your favorite anime will be released?](#want-to-know-when-the-new-episode-of-your-favorite-anime-will-be-released)\n\n## Dependency\n\n- [jq](https://stedolan.github.io/jq/)\n- [fzf](https://github.com/junegunn/fzf)\n- [Node.js](https://nodejs.org/en/download/)\n- [ffmpeg](https://ffmpeg.org/download.html)\n- [openssl](https://www.openssl.org/source/): optional, needed when using `-t \u003cnum\u003e` for faster download\n\n## How to use\n\n```\nUsage:\n  ./animepahe-dl.sh [-a \u003canime name\u003e] [-s \u003canime_slug\u003e] [-e \u003cepisode_num1,num2,num3-num4...\u003e] [-r \u003cresolution\u003e] [-t \u003cnum\u003e] [-l] [-d]\n\nOptions:\n  -a \u003cname\u003e               anime name\n  -s \u003cslug\u003e               anime slug/uuid, can be found in $_ANIME_LIST_FILE\n                          ignored when \"-a\" is enabled\n  -e \u003cnum1,num3-num4...\u003e  optional, episode number to download\n                          multiple episode numbers seperated by \",\"\n                          episode range using \"-\"\n                          all episodes using \"*\"\n  -r \u003cresolution\u003e         optional, specify resolution: \"1080\", \"720\"...\n                          by default, the highest resolution is selected\n  -o \u003clanguage\u003e           optional, specify audio language: \"eng\", \"jpn\"...\n  -t \u003cnum\u003e                optional, specify a positive integer as num of threads\n  -l                      optional, show m3u8 playlist link without downloading videos\n  -d                      enable debug mode\n  -h | --help             display this help message\n```\n\n### Example\n\n- Simply run script to search anime name and select the right one in `fzf`:\n\n```bash\n$ ./animepahe-dl.sh\n\u003canime list in fzf\u003e\n...\n```\n\n- Search anime by its name:\n\n```bash\n$ ./animepahe-dl.sh -a 'attack on titan'\n\u003canime list in fzf\u003e\n```\n\n- By default, anime slug/uuid is stored in `./anime.list` file. Be aware that the value of anime slug/uuid often changes, not permanent. Download \"One Punch Man\" season 2 episode 3:\n\n```bash\n$ ./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858 -e 3\n```\n\n- List \"One Punch Man\" season 2 all episodes:\n\n```bash\n$ ./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858\n[1] E1 2019-04-09 18:45:38\n[2] E2 2019-04-16 17:54:48\n[3] E3 2019-04-23 17:51:20\n[4] E4 2019-04-30 17:51:37\n[5] E5 2019-05-07 17:55:53\n[6] E6 2019-05-14 17:52:04\n[7] E7 2019-05-21 17:54:21\n[8] E8 2019-05-28 22:51:16\n[9] E9 2019-06-11 17:48:50\n[10] E10 2019-06-18 17:50:25\n[11] E11 2019-06-25 17:59:38\n[12] E12 2019-07-02 18:01:11\n```\n\n- Support batch downloads: list \"One Punch Man\" season 2 episode 2, 5, 6, 7:\n\n```bash\n$ ./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858 -e 2,5,6,7\n[INFO] Downloading Episode 2...\n...\n[INFO] Downloading Episode 5...\n...\n[INFO] Downloading Episode 6...\n...\n[INFO] Downloading Episode 7...\n...\n```\n\nOR using episode range:\n\n```bash\n$ ./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858 -e 2,5-7\n[INFO] Downloading Episode 2...\n...\n[INFO] Downloading Episode 5...\n...\n[INFO] Downloading Episode 6...\n...\n[INFO] Downloading Episode 7...\n...\n```\n\n- Download all episodes using `*`:\n\n```bash\n$ ./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858 -e '*'\n[INFO] Downloading Episode 1...\n...\n[INFO] Downloading Episode 2...\n...\n[INFO] Downloading Episode 3...\n...\n```\n\n- Specify video resolution:\n\n```bash\n$ ./animepahe-dl.sh -a jujutsu -e 5 -r 360\n[INFO] Select video resolution: 360\n[INFO] Downloading Episode 5...\n```\n\n- Specify audio language:\n\n```bash\n$ ./animepahe-dl.sh -a 'samurai 7' -e 1 -o eng\n[INFO] Select audio language: eng\n[INFO] Downloading Episode 1...\n```\n\n- Enable parallel jobs to download faster:\n\n```bash\n$ ./animepahe-dl.sh -a jujutsu -e 1 -t 100\n```\n\n:warning: Be aware that the parallel download feature can be sometimes unstable, depending on the server side throttling. But usually, it should be stable with a number of threads below 50.\n\n- Show only m3u8 playlist link, without downloading video file:\n\n```bash\n$ ./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858 -e 5 -l\n...\n```\n\nIt's useful to toss m3u8 into media player and stream:\n\n```bash\n$ mpv --http-header-fields=\"Referer: https://kwik.cx/\" \"$(./animepahe-dl.sh -s 308f5756-6715-e404-998d-92f16b9d9858 -e 5 -l)\"\n```\n\n## Disclaimer\n\nThe purpose of this script is to download anime episodes in order to watch them later in case when Internet is not available. Please do NOT copy or distribute downloaded anime episodes to any third party. Watch them and delete them afterwards. Please use this script at your own responsibility.\n\n## You may like...\n\n### Don't like animepahe? Want an alternative?\n\nCheck out [twistmoe-dl](https://github.com/KevCui/twistmoe-dl)\n\n### Want to know when the new episode of your favorite anime will be released?\n\nCheck out this script [tvdb-cli](https://github.com/KevCui/tvdb-cli)\n\n---\n\n\u003ca href=\"https://www.buymeacoffee.com/kevcui\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"60px\" width=\"217px\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcui%2Fanimepahe-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevcui%2Fanimepahe-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcui%2Fanimepahe-dl/lists"}