twist.moe icon indicating copy to clipboard operation
twist.moe copied to clipboard

Batch download high quality videos from https://twist.moe

Anime downloader for Twist.Moe

NOTE

Pull the latest code and try before opening any issues

git pull

STATUS: WORKING

Installation (Setup)

git clone https://github.com/phanirithvij/twist.moe.git
cd twist.moe/
chmod +x *.sh # optional

Requirements

Requires python, bash on linux

Requires python, bash on cmder on windows

Windows users

I recommend cmder or git bash get them from cmder and git and install python if you don't have it.

The following instructions are based on the assumption that cmder|bash are being used.

Python requirements

Linux and Windows

pycryptodomex # this is recommended and nothing else like pycrypto or Crypto or pycryptodome
hashlib
requests

Run ./setup.sh to install python and dependencies

pip install pycryptodomex requests hashlib

Or you could do

Run ./setup.sh to install python and dependencies

Usage

New: A basic fuzzy search is implemented

First install requirements via pip install -r requirements.search.txt

python3 search.py "one piece"
python3 search.py "x2wone piece f"
# will output slugs which can be used in ./startp.sh <slug>
./startp.sh #anime_slug

# eg:
./startp.sh gintama
# or
./startp.sh https://twist.moe/a/gintama

The above step will make the directory of the anime in ./Anime/

This is how it should look till here usage

Go to that directory

cd Anime/#<anime_name>
./download.sh

animelist.txt will soon contain all the anime_names that you've used in startp.sh

TODO

  1. [ ] Add a proper database
  2. [ ] Provide path as an argument
  3. [ ] Rewrite the whole thing in python (not bash)
  4. [ ] save as json instead of txt
  5. [x] rename output files they look hideous
  6. [x] Better and a faster way of decrypting
  7. [ ] Use dart or something to create executables replacing setup.sh and startp.sh to something like twistmoe.exe, twistmoe. issue #21

Examples

Check examples/README.md

Complete json

Created at 20 Jan 2021 GMT 08:39

JSON Minified JSON

To generate one for yourself

python3 allanimenew.py filename.json

The previous json format used to have some other format, so use/modify the script for compatibility

This project was inspired by anime downloader