Adler Neves e1e8f9fedc | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
animeInfo.txt | ||
simpleAnimeFetch_Downloader.py | ||
simpleAnimeFetch_LinkGrabber.py | ||
simpleAnimeFetch_copyToArchieve.py | ||
simpleAnimeFetch_moveToArchieve.py |
README.md
SuperAnimes Downloader
A Python3 script that fetches the video link from superanimes website and downloads it.
##Requisites Most Linux distros satisfy the requirements.
You will need these programs in your PATH in order to run this program properly:
- bash
- python3
- wget
##Purpose
Download episodes from SuperAnimes.
##How to download an anime
You'll need writing an animeInfo.txt
file for each anime you want to download.
Let's take "Wolf's Rain" as example:
The anime page is http://www.superanimes.com/wolfs-rain
, so we write:
Page: http://www.superanimes.com/wolfs-rain
Most sufixes for SuperAnimes are the same:
site_prefix: /episodio-
Supposing the download will start from the episode one:
ep_first: 1
And will end at the 30th:
ep_last_: 30
The downloaded files will have this "shape":
out_file: wolfs-rain-episodio-
This is how they used the formatter:
ep_num_style: %d
The file extension:
file_ext: .mp4
And the anime name for the temporary files:
aniname: wolfs-rain
The last one, the player to be used:
player: ?player=sa2
So, it's just a matter of customization of a file.
Finally, we have:
Page: http://www.superanimes.com/wolfs-rain
site_prefix: /episodio-
ep_first: 1
ep_last_: 30
out_file: wolfs-rain-episodio-
ep_num_style: %d
file_ext: .mp4
aniname: wolfs-rain
player: ?player=sa2
But this one is also valid (and confusing):
: http://www.superanimes.com/wolfs-rain
: /episodio-
: 1
: 30
: wolfs-rain-episodio-
: %d
: .mp4
: wolfs-rain
: ?player=sa2
###Model for writing an animeInfo.txt
file:
Page:
site_prefix: /episodio-
ep_first: 1
ep_last_:
out_file:
ep_num_style: %d
file_ext: .mp4
aniname:
player:
##How to run
After setting up properly the animeInfo.txt
file, you'll need the links.
Type the command below in a terminal to grab the video links:
python3 simpleAnimeFetch_LinkGrabber.py
If it reaches any error, just repeat (or your animeInfo.txt
may be incorrect, or this script outdated).
Now that you have the video links, just enter with the command below in a terminal:
python3 simpleAnimeFetch_Downloader.py
If nothing wrong happens, all videos may be in a folder named Downloads
.