305 Commits

Author SHA1 Message Date
dependabot[bot]
eb9fdc9177
Bump json-schema and jsprim
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.

Updates `json-schema` from 0.2.3 to 0.4.0
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0)

Updates `jsprim` from 1.4.1 to 1.4.2
- [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
- [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
- dependency-name: jsprim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 14:29:52 +00:00
Godzil
9542e451f2 Make dependabot happy. And trying to stop the annoying notification from github. 2023-06-27 16:23:02 +02:00
Godzil
de3f9a1e9e 1.6.1 v1.6.1 2020-04-28 00:03:51 +01:00
Godzil
f26ea70ef8 Bugfix: if there is no season, they put 0 instead of 1. Let's correct that 2020-04-28 00:03:25 +01:00
Godzil
baf15dc1b4 Minor changes in npmignore 2020-04-28 00:02:43 +01:00
Godzil
2c58e5e4ba update npm ignore file. 2020-04-27 23:38:14 +01:00
Godzil
c8f33e947d Update gitignore 2020-04-27 23:25:22 +01:00
Godzil
fc119acb1c 1.6.0 v1.6.0 2020-04-27 23:06:04 +01:00
Godzil
2db34c3ed8 Update readme with some of the new informations 2020-04-27 23:05:16 +01:00
Godzil
64200a1da9 Add support for the NEW Way.
It started as just a way to fix subtitles download. It ended in a
complete new way to get info about video stream AND subtitles.

Lots of things have change on CR since the last major update, and on
some pages, the old subtitle fetch fail. They changed the player on the
page from the old flash one to a HTML based one and albeit most scrapped
info are still valid, some are no longer working on some new releases.

It should be more reliable, but there are some drawback. I'm currently
unable to select the resolution, it is 1080 by default. It will probably
not work for non premium account, but, you know, I ask clearly for you
to only use that tool if you have a premium account, so well, I'm not
going to try to support non premium account if it does not work.

Oh, and it add the possibility to download subtitles in the languages of
your choice!

The old mechanism is still there as fallback, but may be removed in the
futur to clean up the code.
2020-04-27 22:48:24 +01:00
Godzil
8655874097 Remove no longer used entry for the config. 2020-04-27 22:39:51 +01:00
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
b3a96cd0e7 Let's make the headers a bit better. 2020-04-27 22:34:13 +01:00
Godzil
f25a62234c Add more to the dub ignore regexp. 2020-04-27 22:33:16 +01:00
Manoël Trapier
e8a7856e44
Merge pull request #116 from elisha464/master
fix logUsingCookie
2020-04-13 20:27:08 +01:00
Manoël Trapier
f086b3593e
Merge branch 'master' into master 2020-04-13 20:25:37 +01:00
Godzil
d2bc7e41b2 1.5.1 v1.5.1 2020-04-13 20:16:37 +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
b2ecd05586 Trying to clean file name in a better way. 2020-04-13 20:13:23 +01:00
Godzil
8b9f9a5e1c The new version of the command line parser leave a lot of new things.
Let's remove them...
2020-04-13 20:12:32 +01:00
Godzil
376ff09632 Change my_request to be more clean and try to fix the login issue. 2020-04-13 20:11:56 +01:00
Godzil
7926b2fd9a Make the code compile again. 2020-04-13 20:09:30 +01:00
Godzil
3f2a920e1e Update dependencies 2020-04-13 20:06:41 +01:00
elisha464
fa4c68c239
fix logUsingCookie
* it seems that the site only cares about the cookie `session_id`
* when checking if the user is authenticated the cookie jar was not being used
2019-11-30 16:32:24 +02:00
Manoël Trapier
1555229635
Update .travis.yml
Travis currently don't support Node 13 and 14.
2019-07-31 16:52:08 +01:00
Godzil
7c085caaa0 Add more travis target 2019-07-31 17:22:52 +02:00
Godzil
cc0bf4dfb1 1.5.0 v1.5.0 2019-07-31 17:20:53 +02:00
Godzil
00857ba46f Update dependencies 2019-07-31 17:20:47 +02:00
Godzil
b77a35e0e9 Remove non production logs 2019-07-31 17:16:30 +02:00
Manoël Trapier
ca59e3b2fd
Merge pull request #108 from Ronserruya/fix_title_scrape
Fix login and only direct links issues.

Still need to understand what is happening.
2019-07-31 16:09:27 +01:00
ronserruya
95c0c4d6d3
Linter stuff 2019-07-31 14:29:49 +03:00
ronserruya
0d2d36251a
Fix title fetching 2019-07-31 14:26:22 +03:00
ronserruya
48a58ffca6
Fix login issue 2019-07-31 14:26:13 +03:00
Manoël Trapier
505e6c67ce
Add one more badge 2019-05-07 13:39:04 +01:00
Manoël Trapier
83e8a5e08c
Change issue badge 2019-05-07 13:28:01 +01:00
Godzil
c82319a2c6 Make code (somwhat) compliant with latest version of CloudScraper and add some instrumentation to try to understand what is happening with web based login. Still unclear for now.. 2019-05-07 13:13:08 +02:00
Godzil
1fe7c697c5 Remove the old and unneeded ts.js 2019-05-07 13:11:03 +02:00
Godzil
239d1c60a3 Update some dependencies 2019-05-07 13:10:34 +02:00
Godzil
bdfc96d56e Remove package-lock.json as it is not needed 2019-04-30 16:57:25 +02:00
Godzil
8f7babd809 1.4.6 v1.4.6 2019-03-04 18:51:27 +01:00
Godzil
c708df574b Update deps 2019-03-04 18:49:29 +01:00
Godzil
401a511668 Add Node 10 and 11 2019-03-04 18:44:41 +01:00
Godzil
969879921e 1.4.5 v1.4.5 2018-10-04 20:08:15 +01:00
Godzil
546ba9b45a Add a warn when login failed to be more explicit 2018-10-04 20:07:54 +01:00
Godzil
27bdf54782 Solve issue with redirection (now it should follow automatically) 2018-10-04 20:02:28 +01:00
Godzil
beed932e93 Javascript: I hate you.
(fix a **** stupid bug while doing version checking)
2018-08-27 18:16:23 +01:00
Godzil
e5c4c08e66 1.4.4 v1.4.4 2018-08-27 16:46:59 +01:00
Godzil
2b201b0785 Fix #94 2018-08-27 13:16:22 +01:00