/dra-cla

A cli tool to browse and play korean drama, chinese drama

Primary LanguageShellGNU General Public License v3.0GPL-3.0



A cli to browse and watch Korean Drama, Chinese drama. This tool scrapes the site asianembed which is the site dramacool scrapes from.

This tool is modified version of ani-cli which is anime scraping tool. Feel free to check it out if you need to watch anime.

Table of Contents

Install

Linux

Install dependencies (See below)

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

nix-shell -p dra-cla

Android

Install termux (Guide)

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)

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