Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Retrieve datas #24

Open
elielam opened this issue Jul 16, 2019 · 0 comments
Open

Retrieve datas #24

elielam opened this issue Jul 16, 2019 · 0 comments

Comments

@elielam
Copy link

elielam commented Jul 16, 2019

Hi,

First thank you for your app it's so helpful.
I try to optimize the use of this app by using it in a sh script.

here is my script :

#!bin\sh

if [ ! -z "$2" ]
then
    if [ ! -z "$3" ]
    then
      # season, episode
      cr-dl download $1 -l frFR --httpProxy  "http://[email protected]:[email protected]" -o "/mnt/medias/local/Animes/{seasonTitle!scene}/{seasonTitle!scene}.E{episodeNumber}.mkv" --season $2 --episode $3
    else
      cr-dl download $1 -l frFR --httpProxy  "http://[email protected]:[email protected]" -o "/mnt/medias/local/Animes/{seasonTitle!scene}/{seasonTitle!scene}.E{episodeNumber}.mkv" --season $2   
    fi
else
  cr-dl download $1 -l frFR --httpProxy "http://[email protected]:[email protected]" -o "/mnt/medias/local/Animes/{seasonTitle!scene}/{seasonTitle!scene}.E{episodeNumber}.mkv"
fi

I want to know if it's possible to retrieve the {seasonTitle!scene} var or other data outside of the command ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant