Giter Site home page Giter Site logo

cr-dl's People

Contributors

daskraken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cr-dl's Issues

Unable to download certain anime

Hi,

I had a quick search of the issues that were open and resolved but couldn't see anything there.
Some of the Crunchyroll links work fine (Haikyuu) while others don't (Yu-Gi-Oh! 5'Ds)

I am running this command cr-dl download -c 5 -l enUS https://www.crunchyroll.com/yu-gi-oh-5ds --seasons 3,4
and getting the following error

      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open 'tmp/VodVidData/seg-32-v1-a1.ts'
Emitted 'error' event at:
    at errorOrDestroy (internal/streams/destroy.js:107:12)
    at WriteStream.onerror (_stream_readable.js:737:7)
    at WriteStream.emit (events.js:200:13)
    at internal/fs/streams.js:289:12
    at FSReqCallback.oncomplete (fs.js:153:23) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'tmp/VodVidData/seg-32-v1-a1.ts'
}```

Not sure what the error is as I don't know nodejs

Problem with season and episodes

Hey!
First, i want to appreciate your work, as it's, by far, the best simple crunchyroll downloader. With this in mind, I'm having a issue right now.

So, I'm downloading One Piece. One Piece has a Special HD version for the older chapters, and I'm downloading them (season 1 means season 2, season 2 means season 4, etc.) but... last time i let the computer downloading but it didn't finish.

I'm trying to run:

cr-dl download --subLangs ptBR https://www.crunchyroll.com/one-piece 1080p --season 4 --episodes 1 (should mean episode 136, the first of the season)

and even

cr-dl download --subLangs ptBR https://www.crunchyroll.com/one-piece 1080p --season 4 --episodes 136 (the actual episode number. can't run only --episodes because i want the season 4 (hd special) edition).
How could I do this? If not. Could you, in a near future add this feature?

And also, to be perfect, and if you have some time, I noticed that he doesn't check for already downloaded episodes. It downloads and overwrites the already downloaded file. That would be great. Once again, thank you for making THE BEST (and i'm serious) CR downloader.

Oh, and proxies for login would be great :p

Can you auto mux fonts with the mkv?

Hello.

I like this app, it has many features that would make me select it over others, but could you add muxing fonts with the mkv?

You could use --fonts DIROCTORY/TO/FONTS or set it to Fonts by default, so if the app find folder called fonts, it should mux this with the video.

I have mentions on #14 that anime-dl has this feature, and to be honest, it is an amazing feature.

I know that I am new to this project, I just knew about it yesterday, but I can see how beautiful is this app, it is really promising, especially the windows binary is extremely easy to use, all other apps requires at least installing one or more components in order to work properly.

Cant download last episode

All last episodes of series cannot be downloaded for some reason.
It says :

(HTML5 Player)
Subtitles for not available. Skipping...
Error: Couldn't set enUS as default subtitle: subtitle not available.

But they are available in the web player.

Instalation Problem

When I try to install by the command, show me this message:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/DasKraken/CR-dl.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Someone knows whats going on?

Retrieve datas

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 ?

Not working anymore

I wanted to report that since today, cr-dl has not worked for me, throwing the same mistake I was making a while ago with the last version, I appreciate all your effort and dedication to this tool, I hope not to bother you and that you can fix it

regards!

Correct subtitle styling

Hello,

I just discovered this amazing app,I love how flexible it is.

but I noticed something with subtitle files, they are all with the same styling.
Let me show you an example:
let's say I download this:
cr-dl download https://www.crunchyroll.com/ar/saki/episode-1-encounter-524846
it will create a temp folder and put subtitles within it
image
it should download 6 subtitle files:
image

if you open them all, you will notice each one of them have their own styling.
image

As you can see the font here is Trebuchet MS

Currently I am using https://github.com/Xonshiz/anime-dl tool to download, but the developer sopped patching it for a while now, and it cannot handle some of animes currently, but it download subtitles with current styling:
image

As you can see the font name here is Adobe Arabic

I actually don't know what the real cause of this, but I noticed something, in CR-dl subtitle file there are these lines:

PlayResX: 848
PlayResY: 480

I know that Crunchyroll offer different subtitle file for video quality 480 and below, and another subtitle file for 720 and above.

I think anime-dl can download different subtitle for each quality, could you please check it.

because Trebuchet MS is not supporting Arabic, so I wish this app can download the correct subtitle file for the selected resolution with correct styling.

SyntaxError: Unexpected end of JSON input

Hi, I ran this command line

cr-dl dl "https://www.crunchyroll.com/fr/sing-yesterday-for-me/episode-3-what-is-love-794608"

but ...

SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at MediaVilosPlayer.getSeriesTitle (/usr/lib/node_modules/cr-dl/src/MediaVilosPlayer.js:145:53) at Object.downloadVideoUrl (/usr/lib/node_modules/cr-dl/src/CrDl.js:554:38) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async run (/usr/lib/node_modules/cr-dl/index.js:245:7)

Thanks in advance !

Download subs only

Hello
I love your work and how you updated very quick to support HTML5
I didn't know how to pull request so i post it here
can you please add a feature that only download the subtitle file without downloading the whole video file

Thanks

DDoS protection

'\n\n\n \n \n \n \n \n \n <title>Just a moment...</title>\n <style type="text/css">\n html, body {width: 100%; height: 100%; margin: 0; padding: 0;}\n body {background-color: #ffffff; color: #000000; font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue",Arial, sans-serif; font-size: 16px; line-height: 1.7em;-webkit-font-smoothing: antialiased;}\n h1 { text-align: center; font-weight:700; margin: 16px 0; font-size: 32px; color:#000000; line-height: 1.25;}\n p {font-size: 20px; font-weight: 400; margin: 8px 0;}\n p, .attribution, {text-align: center;}\n #spinner {margin: 0 auto 30px auto; display: block;}\n .attribution {margin-top: 32px;}\n @Keyframes fader { 0% {opacity: 0.2;} 50% {opacity: 1.0;} 100% {opacity: 0.2;} }\n @-webkit-keyframes fader { 0% {opacity: 0.2;} 50% {opacity: 1.0;} 100% {opacity: 0.2;} }\n #cf-bubbles > .bubbles { animation: fader 1.6s infinite;}\n #cf-bubbles > .bubbles:nth-child(2) { animation-delay: .2s;}\n #cf-bubbles > .bubbles:nth-child(3) { animation-delay: .4s;}\n .bubbles { background-color: #f58220; width:20px; height: 20px; margin:2px; border-radius:100%; display:inline-block; }\n a { color: #2c7cb0; text-decoration: none; -moz-transition: color 0.15s ease; -o-transition: color 0.15s ease; -webkit-transition: color 0.15s ease; transition: color 0.15s ease; }\n a:hover{color: #f4a15d}\n .attribution{font-size: 16px; line-height: 1.5;}\n .ray_id{display: block; margin-top: 8px;}\n </style>\n\n <script type="text/javascript">\n //> 16 & 255)\n : r2 === 64 ? g(bm >> 16 & 255, bm >> 8 & 255)\n : g(bm >> 16 & 255, bm >> 8 & 255, bm & 255);\n }\n return r;\n };\n t = document.createElement(\'div\');\n t.innerHTML="x";\n t = t.firstChild.href;r = t.match(/https?:\\/\\//)[0];\n t = t.substr(r.length); t = t.substr(0,t.length-1); k = \'cf-dn-AMIttvXkO\';\n a = document.getElementById(\'jschl-answer\');\n f = document.getElementById(\'challenge-form\');\n ;TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+[])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd-=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![])+(+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd-=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd+=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+[])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]));TCbCfvP.MeORAFyCtd-=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[]));TCbCfvP.MeORAFyCtd-=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]));TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd+=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/(+(+((+!![]+[])+(!+[]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])))+(function(p){return eval((true+"")[0]+".ch"+(false+"")[1]+(true+"")[1]+Function("return escape")()(("")["italics"]())[2]+"o"+(undefined+"")[2]+(true+"")[3]+"A"+(true+"")[0]+"("+p+")")}(+((!+[]+!![]+[])))));TCbCfvP.MeORAFyCtd+=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![])+(+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd-=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]))/+((!+[]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]));TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(+!![]))/+((+!![]+[])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![])+(!+[]+!![]));TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]));TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(+!![]))/+((+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd+=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![])+(+[])+(+[])+(+[]));TCbCfvP.MeORAFyCtd*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd-=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]))/+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd+=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![]+!![])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));TCbCfvP.MeORAFyCtd*=function(p){var p = eval(eval(e("ZG9jdW1l")+(undefined+"")[1]+(true+"")[0]+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]+g(103)+(true+"")[3]+(true+"")[0]+"Element"+g(66)+(NaN+[Infinity])[10]+"Id("+g(107)+")."+e("aW5uZXJIVE1M"))); return +(p)}();a.value = (+TCbCfvP.MeORAFyCtd).toFixed(10); \'; 121\'\n f.action += location.hash;\n f.submit();\n }, 4000); /*eoc*/\n \n }, false);\n })();\n //]]>\n</script>\n\n\n\n\n\n

\n \n \n \n \n
\n
\n \n

Please turn JavaScript on and reload the page.

\n \n
\n \n
\n
\n
\n
\n
\n

Checking your browser before accessing crunchyroll.com.

\n \n

This process is automatic. Your browser will redirect to your requested content shortly.

\n

Please allow up to 5 seconds…

\n
\n \n \n \n \n \n \n \n \n
+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+[])+(+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))/+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]))
\n \n
\n
\n\n \n
\n DDoS protection by Cloudflare\n
\n Ray ID: 57feaf25dca9cfbb\n
\n
\n\n\n',
status: 503,
statusText: 'Service Temporarily Unavailable',
url: 'http://www.crunchyroll.com/videos/anime' }

Network error: HTTP status code: 502.

With some series this error is showing:

I tried with this link: https://www.crunchyroll.com/rezero-starting-life-in-another-world-

NetworkException: HTTP status code: 502
at Request. (/media/sdc1/theruleof4/lib/node_modules/cr-dl/src/ListDownloader.js:92:36)
at Request.emit (events.js:203:13)
at Request.onRequestResponse (/media/sdc1/theruleof4/lib/node_modules/cr-dl/node_modules/request/request.js:1059:10)
at ClientRequest.emit (events.js:208:15)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
at TLSSocket.socketOnData (_http_client.js:449:22)
at TLSSocket.emit (events.js:203:13)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:276:11)
events.js:180
throw er; // Unhandled 'error' event
^

Error: ENOENT: no such file or directory, open 'tmp_hluucb/VodVidData/seg-124-v1-a1.ts'
Emitted 'error' event at:
at errorOrDestroy (internal/streams/destroy.js:107:12)
at WriteStream.onerror (_stream_readable.js:744:7)
at WriteStream.emit (events.js:203:13)
at internal/fs/streams.js:289:12
at FSReqCallback.oncomplete (fs.js:153:23) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'tmp_hluucb/VodVidData/seg-124-v1-a1.ts'

Conflict between downloading to files in the same directory.

Hello everyone,

I wanted to download both softsub and hardsub versions, so I created two .bat files that will download each of them.

But I have noticed that they both use the same temp directory, so they conflict with each other.
so can you please make them use some unique id in the temp directory like "temp-rp8mucdwrag3"

You might say "can't you just created separate directories for each .bat file of them?"
Actually yes, that what I am doing right now, but in this way i would need to make a new directory for each download, or even worse, if I make a gui the execute commands, it would execute every command in the same directory so they certainly will conflict.

Or do you have better idea than this?

Can't "mux" on Ubuntu

Getting this error when it's time to mux the file:

RuntimeException: ffmpeg process exited with code 1 at ChildProcess.proc.on (/usr/lib/node_modules/cr-dl/src/processVideo.js:82:24) at ChildProcess.emit (events.js:189:13) at maybeClose (internal/child_process.js:970:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

ffmpeg is at version 4.1, as in my windows pc and node is at 10.

How to download when there are no subtitles available?

I tried to download this chapter http://www.crunchyroll.com/miss-kobayashis-dragon-maid/episode-3-start-of-a-new-life-that-doesnt-go-well-of-course-776554 but failed everytime, it says "subtitles for [any] not available, couldn't set [any] language as default, subtitle not available" (tried with all possible languages)

I execute --listSubs and 0 subs are available

I only want the chapter with spanish dub, subs isn't necessary in this case. is there a way to download the video+audio without subs?

CRC/hash check during connection timeout

Hi, sometimes could be a connection timeout from CR servers, is implemented a sort of crc/hash control to be sure that the file downloaded is whole? If not, will it be implemented?
Thanks

New error

I apologize for bothering you so much with this, although I believe that I collaborate with the correct functioning of your code, now I got this:

Reflect.apply(handler, this, args);
        ^

RuntimeException: Error: spawn ffmpeg ENOENT
at ChildProcess. (C:\snapshot\CR-dl\src\processVideo.js:0:0)
at ChildProcess.emit (events.js:182:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)

Do you know what may be happening? there is the tmp folder with 2 sub folders and a m3u8 file inside:

SubData
VodVidData
VodVid.m3u8

Regards!

Problem with the last version

Hello Master! I have the following problem :

[]
RuntimeException: No resolutions found.
at getMaxWantedResolution (J:\snapshot\CR-dl\src\CrDl.js:0:0)
at Object.downloadVideoUrl (J:\snapshot\CR-dl\src\CrDl.js:0:0)
at process._tickCallback (internal/process/next_tick.js:68:7)

I hope you can make some fix.

Greetings!

Can't download

Serie like cromartie-high-school
Code error
CR-DL>cr-dl download https://www.crunchyroll.com/cromartie-high-school/episode-1-i-used-to-be-a-bad-boy-bragging-contest-739313 480p (Flash Player) Subtitles for not available. Skipping... No subtitles will be included. [] RuntimeException: No resolutions found. at getMaxWantedResolution (C:\Users\ADMIN\AppData\Roaming\npm\node_modules\cr-dl\src\CrDl.js:198:11) at Object.downloadVideoUrl (C:\Users\ADMIN\AppData\Roaming\npm\node_modules\cr-dl\src\CrDl.js:479:28) at process._tickCallback (internal/process/next_tick.js:68:7)
and if I try to download the entire season
cr-dl download https://www.crunchyroll.com/en-gb/cromartie-high-school --season 2 Error: No Episodes found.

error when set language

when i use command:
cr-dl language esLA
it return with this error

TypeError: Cannot read property '1' of null
at Object.setLang (C:\snapshot\CR-dl\src\CrDl.js:0:0)
at process._tickCallback (internal/process/next_tick.js:68:7)

An issue when downloading multiple episodes with legacy player

Hello everyone.

I would like to thank @DasKraken for building this awesome app.

As everyone knows that CR-dl can download multiple episodes in just one command,
but trying to download more than one episode at a time "WITH --legacyPlayer " resulting to an issue:
image

{ 
  body: 'error code: 1005',
  status: 403,
  statusText: 'Forbidden',
  url:
   'http://www.crunchyroll.com/xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=108507' 
}

you can produce this with this command:
download -l "arME" -c "5" --maxAttempts "5" --attachFonts --legacyPlayer -o "{seasonTitle} - {episodeNumber} [{resolution}].mkv" "https://www.crunchyroll.com/ar/jojos-bizarre-adventure/" "1080p"

ffmpeg process exited with code 1

Download error:

Downloading S(01/01)E(01/12) - HINAMATSURI Episode 1
(HTML5 Player)
Following subtitles will be included:
Downloading to "HINAMATSURI [720p]/HINAMATSURI - 01 - Arrival of the Psychokinetic Girl! [720p].mkv"...
downloading [████████████████████████████████████████] 100% | 364 MB/364 MB | Speed: 176 MB/s | ETA: 0s
muxing [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% | {curDuration}/{totalDuration} | Speed: {fps} fps
RuntimeException: ffmpeg process exited with code 1
at ChildProcess.proc.on (/usr/local/lib/node_modules/cr-dl/src/processVideo.js:82:24)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

Setting up download queue

Is it possible to create a download queue in CR-dl?
What I mean is a ability to download videos from multiple links (few series at once).

Users would then be able to set up downloading for the time when they are AFK (sleeping, in-work, at uni), and that could ease things a little :)

So is there any chance of you to implement this feature?

An option like '--audioOnly' (similar to --subsOnly) if possible?

To download only the Audio without the need to re-download the entire Dub

For Example:
You already have your JapDub with (or without) Subs and want to externally add the EnglishDub too (to your MKV as a second Track)

You could get the entire Dub again and take the Audio-File out by hand...
But a flag to only save the Audio-Track in the first place would be more efficient (if possible)

Unsupported url

Hello i'm trying to download an anime series but it gives me simply an "Unsupported url" error.

I'm using the x64 windows package downloaded from the last release.

this is the command i input in the windows terminal:

cr-dl.exe download -c 10 --listSubs itIT,esES,frFR,enGB  https://www.crunchyroll.com/the-ancient-magus-bride

i've tried various ulrs, also with the variation from this:

https://www.crunchyroll.com/the-ancient-magus-bride

to this:

https://www.crunchyroll.com/it/the-ancient-magus-bride

Is there any chance to get a GUI version for this?

Hello,

Thank you for the latest version, it is easily the best CR downloader.
it can download the subtitle for both HTML5 and Flash player, and it attaches the fonts, I mean it has everything that anyone who loves to store CR videos need.

what I think would be better is getting a GUI, I am planning to make one, but unfortunately I do it in C#, so it won't be cross-platform, it will be for Windows only, so since you do program in Javascript with node js could you make a GUI for this application?

Thank you again for your beautiful application.

I can´t mux in the new version

I was able to log in without problems, I hit a link and was actually downloading the episode, the problem arrives at the moment of the muxing, the following error appears:

RuntimeException: ffmpeg process exited with code 1
    at ChildProcess.module.exports.proc.on (C:\snapshot\CR-dl\src\processVideo.js:0:0)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:961:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)

I was able to get the subtitles I needed from the tmp folder before the error occurred and I was able to download the episode without subtitles, later with MKVtoolnix I was able to join them so the new version was very helpful, I informed you about this if you can detect the error, greetings!

RuntimeException: ffmpeg process exited with code 1

Downloading to "A Certain Scientific Railgun T [1080p]/A Certain Scientific Railgun T - 13 - System - Aquela que obtém o poder dos deuses enquanto ainda possui corpo mortal [1080p].mkv"...
downloading [████████████████████████████████████████] 100% | 1.48 GB/1.48 GB |
muxing [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% | {curDuration}/{totalDura
RuntimeException: ffmpeg process exited with code 1
at ChildProcess.proc.on (/usr/lib/node_modules/cr-dl/src/processVideo.js:99:24)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:198:13)
at Pipe._handle.close (net.js:607:12)

//

ffmpeg --version
ffmpeg version 2.8.8 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
configuration: --disable-static --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libtheora --enable-libxvid --enable-libfdk_aac --enable-libopus --enable-libfreetype --enable-libfaac
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101

how solve this?

Having issues setting subtitle language to enUS (Subtitle not available)

I was trying to download Love is War Ep 1 with

cr-dl download --subLangs enUS -o "Love_is_War_S1E{episodeNumber}.mkv" https://www.crunchyroll.com/kaguya-sama-love-is-war/episode-1-i-will-make-you-invite-me-to-a-movie-kaguya-wants-to-be-stopped-kaguya-wants-it-781498 720p

but I am getting

Subtitles for enUS not available. Skipping...
Error: Couldn't set enUS as default subtitle: subtitle not available.

This was also occurring when I tried to download Shokugeki no Soma. I checked online and English(US) is listed as subtitle options.

Cloudflare (?) shenanigans

Not sure what exactly you are using to program this.. is it Python? If so maybe this will help ( I don't know enough about any of this to be of any help)
https://stackoverflow.com/questions/36948573/download-files-from-website-with-cloudflare-using-python

Not including the massive { } I got in the command line.. but at the end it gave
status: 503, statusText: 'Service Temporarily Unavailable', url: 'http://www.crunchyroll.com/videos/anime' }
Parts of the inline included mention of cloudflare ddos protection etc. Sorry if this isn't of much help or informative but thought I'd bring it up ( it WAS working last night though)

RuntimeException ffmpeg

im downloading Naruto Shippuden so far no problem but now i have an RntimeExpetion on the 14th Season Episode 297-...
I tried Episode 298 same Problem.
I use Windows 10.
Episode 296 have no Problems.
RuntimeException: ffmpeg process exited with code 1 at ChildProcess.module.exports.proc.on (J:\snapshot\CR-dl\src\processVideo.js:0:0) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:961:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
Unbenannt

Can't login when capture is needed

For users of a VPN there seem to be no possibility to login when CR requests a captcha on login.

grafik

Since i couldnt figure out a solution i opened an issue.
A solution would be to include a import cookie option, where a raw text cookie could be used.

Can't download anime without subtitles

Hello,

I'm trying to download this episode https://www.crunchyroll.com/pt-br/konosuba-gods-blessing-on-this-wonderful-world/episode-2-an-explosion-for-this-chunibyo-781770 with the command
cr-dl download --subLangs none https://www.crunchyroll.com/pt-br/konosuba-gods-blessing-on-this-wonderful-world/episode-2-an-explosion-for-this-chunibyo-781770
But this error shows
(HTML5 Player) No subtitles will be included. Error: No stream found for hardsub language: null

I just want to download without this dubbed version without subtitles. I don't know why, but the first episode (https://www.crunchyroll.com/pt-br/konosuba-gods-blessing-on-this-wonderful-world/episode-1-this-self-proclaimed-goddess-and-reincarnation-in-another-world-781769) works fine with the same command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.