A cli to browse and watch Korean Drama, Chinese drama. This tool scrapes the site [asianembed](https://asianembed.io) which is the site dramacool scrapes from.
This tool is modified version of [ani-cli](https://github.com/pystardust/ani-cli) which is anime scraping tool. Feel free to check it out if you need to watch anime.
## Table of Contents
- [Install](#Installation)
- [Linux](#Linux)
- [Nix](#Nix)
- [Android](#Android)
- [Uninstall](#Uninstall)
- [Dependencies](#Dependencies)
- [Disclaimer](./disclaimer.md)
## Install
### Linux
Install dependencies [(See below)](#Dependencies)
```sh
git clone https://github.com/CoolnsX/dra-cla && cd dra-cla
sudo cp dra-cla /usr/local/bin/dra-cla
```
*Note that mpv installed through flatpak is not compatible*
#### Nix
``` shell
nix-shell -p dra-cla
```
### Android
Install termux [(Guide)](https://termux.com/)
```sh
pkg update
pkg install git termux-tools ncurses-utils openssl-tool ffmpeg -y
git clone https://github.com/CoolnsX/dra-cla && cd dra-cla
cp dra-cla $PREFIX/bin/dra-cla
echo 'am start -n is.xyz.mpv/.MPVActivity "$1"' > $PREFIX/bin/mpv
chmod +x $PREFIX/bin/mpv
```
Install mpv-android [(Link)](https://play.google.com/store/apps/details?id=is.xyz.mpv)
*Add ```referrer="https://asianembed.io"``` to mpv.conf (Open mpv app, goto three dots top right->Settings->Advanced-->Edit mpv.conf)*
*Note: VLC android doesn't support referrer option. So it will not work*
## Uninstall
* Linux: ```sudo rm /usr/local/bin/dra-cla```
* Android: ```rm $PREFIX/bin/dra-cla```
## Dependencies
- grep
- sed
- curl
- openssl
- mpv - Video Player
- aria2 - Download manager
- ffmpeg - m3u8 Downloader