40 Commits

Author SHA1 Message Date
Godzil
99ba051b7f Remove some too verbose messages when an error occur and we are not
in verbose mode.
2020-04-27 22:39:30 +01:00
Godzil
d692199d07 CF don't like us if we go to fast. Let's add some delays. 2020-04-27 22:39:03 +01:00
Godzil
e058b8e699 We want to save the video format/quality infos in the config file. 2020-04-27 22:37:23 +01:00
Godzil
a7bc34df0d New way to specify episode range. Work in progress, may not work well. 2020-04-13 20:14:28 +01:00
Godzil
7926b2fd9a Make the code compile again. 2020-04-13 20:09:30 +01:00
Godzil
2b201b0785 Fix #94 2018-08-27 13:16:22 +01:00
Godzil
fdf5805911 Fix for #88 2018-08-27 13:11:06 +01:00
Godzil
876def4392 Add code to check what langage CR is serving the page, and try to adapt
some regexp to that. The langage can be forced by the user

Fix #1 and Fix #76
2018-08-11 20:42:12 +01:00
Godzil
ce5038cf08 @ URL was broken since 1.3.7 doh! 2018-08-05 10:46:27 +01:00
Godzil
ed233de565 Add an experimental feature: ignoring episodes from season that end with 'dub)' as they are dubbed seasons. 2018-08-01 22:08:21 +01:00
Godzil
25dabd4955 Fix #80, the batch file path should not be related to the output folder.
Also make sure that an absolute path is not treated as a relative one!



COOOKIESSSS!!!!!!
2018-08-01 21:21:46 +01:00
Godzil
2e8de8c5c2 Make lint happy (sorry cookie monster, nothing for you here :( ) 2018-08-01 19:57:29 +01:00
Godzil
9c3aaf220a Make authentification error report to work, and
warn user if trying to use API but not filling corresponding fields
2018-08-01 19:56:49 +01:00
Godzil
9fb85d4376 Now that we have cookies, persistant config file, we can log
and stay logged between run (or I hope so) so add a delog command,
and make the cookie monster happy.
2018-08-01 00:52:23 +01:00
Godzil
6f192b1712 Now use the config file for base configuration, and command line parameter to
overide some of these parameter.

The config file is updated from the command line parameters
2018-08-01 00:43:07 +01:00
Godzil
4990effa1c Try to fix #81 and probably some other issues when the URL is not valid to properly display that the URL is not valid. Also change a bit on how error are handled 2018-07-30 22:47:38 +01:00
Godzil
02a9d763cd Add the episode title in the default file name template. 2018-07-30 22:47:38 +01:00
Godzil
1d596b02f7 Cleaning up the command line parameter to properly use default values 2018-07-30 22:47:37 +01:00
Godzil
cee53fb113 Fix for #78 (and a bit of cleanup) 2018-07-30 22:47:37 +01:00
Godzil
6765b517ec Add a new episode filter and completely remove some dependencies on the config object. 2018-07-30 22:47:36 +01:00
Godzil
8c1e0f2e0c Stop messing with the config objet 2018-07-30 22:47:36 +01:00
Godzil
817843c40c Add more output to debug.txt 2018-07-30 22:47:36 +01:00
Godzil
66670547b9 Add a crude debug mechanism 2018-07-30 22:47:36 +01:00
Godzil
f10bead0dc Remove episode and volume filter, they were buggy and useless.
Use the @URL syntax do download a single episode.
2018-07-30 22:47:35 +01:00
Godzil
5edd7cf05a Fix 4 silly bugs 2018-07-30 22:47:35 +01:00
Godzil
3ac1f4ee9e Don't display error stack when not needed, and if needed check it exist
before trying to display it.
2018-07-30 22:47:34 +01:00
Godzil
7f2f983f55 using log instead of console is nicer 2018-07-30 22:47:33 +01:00
Godzil
7d6f762f59 Add retry mechanism in case of episodes list retrieve failure instead of just failing.
If it can't after a couple of retry (5 by default, can be changed on the command line) it will just ignore it and go to the next anime.
2018-07-30 22:47:33 +01:00
Godzil
65c9032839 Add an option to make ffmpeg, mkvmerge and rtmpdump running verbosely. 2018-07-30 22:47:33 +01:00
Godzil
4ee814864c Add support for changing the batchfile on the command line 2018-07-30 22:47:33 +01:00
Godzil
7c04fb7282 Make tslint happy! 2018-07-30 22:47:29 +01:00
Godzil
849c7612aa A bit of code reformating and add an option to regenerate the .crpersistant file in case it become corrupted and Crunchy try to redownload everything. 2018-07-30 22:46:29 +01:00
Roei Elisha
b064b97f2d fix linter problems 2018-05-22 23:55:10 +03:00
Godzil
547fdc4aa0 Add a way to select the resolution. Use 1080p by default
Fix #58
2018-03-29 22:29:13 +01:00
ssttevee
4dc90aeb00
added custom filenames 2017-03-29 13:59:51 -07:00
Godzil
cfe73f5ca8 More lint cleaning, add a way to download a single episode by URL 2017-02-10 23:51:22 +00:00
Godzil
bee3f33e20 Update npm packages, cleanup the code, cleanup all tslint complain 2017-02-10 17:43:52 +00:00
Roel van Uden
18375d3d22 Update to TS1.5 2015-05-23 19:07:14 +02:00
Roel van Uden
602f772fcf Get rid of Visual Studio project files for tsconfig 2015-03-07 11:52:10 +01:00
Roel van Uden
9ff6398aee Migration towards TypeScript
This is going to be 1.1.0. Remaining TODOs:
* "npm run tsc" should generate declarations
* Add (restrictive) TSLint configuration
* Add support for TSLint in "npm test"
2015-02-06 22:31:02 +01:00