mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
fix episode downloading
This commit is contained in:
parent
35afc20461
commit
e539923da8
2
ani-cli
2
ani-cli
@ -527,7 +527,7 @@ open_episode() {
|
||||
cd "${ddir/ //}" || die "Could not enter directory $ddir"
|
||||
mkdir -p "$anime_id" || die "Could not create directory"
|
||||
cd "$anime_id" || die "Could not enter subdirectory $ddir/$anime_id"
|
||||
ffmpeg -headers "Referer: $dpage_url" -i "$video_url" \
|
||||
ffmpeg -headers "Referer: $embedded_video_url" -i "$video_url" \
|
||||
-codec copy "${anime_id}-${episode}.mkv" >/dev/null 2>&1 &&
|
||||
notify-send "Downloaded episode: $episode" ||
|
||||
notify-send "Download failed episode: $episode"
|
||||
|
Loading…
Reference in New Issue
Block a user