A scraper to download anime from animepahe.com.
npm i
Get the anime id of the anime you want to download.
This will download all the episode links to the episodes in rewards/[ANIME_NAME]
directory
ANIME_ID
is the id in the URL for e.g.
https://animepahe.com/anime/acd478b9-26eb-d50d-2013-223fc5b67bc4
acd478b9-26eb-d50d-2013-223fc5b67bc4
is the ANIME ID
node get-episodes.js [anime_id] [name] [from_episode] [to_episode]
Where the values can be
anime_id = ANIME_ID from above
name = name of the anime (can be anything)
from_episode = 1 - to_episode
to_episode = null | < from_episode
Downlod the video urls of each video, remember these links expire after a while so you will have to download them again.
Specify the START_INDEX
and END_INDEX
node get-download.js FILE_PATH [START_INDEX] [END_INDEX]
Download all the links parallely (might be too much so keep the size of download-link.txt small)
./download.sh reward/[anime_name]/download-links.txt