26 Commits

Author SHA1 Message Date
Godzil
27bdf54782 Solve issue with redirection (now it should follow automatically) 2018-10-04 20:02:28 +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
d19992f0d3 Make linter happy (and fix a mistake) 2018-08-05 10:30:22 +01:00
Godzil
14fd18479e Try to tweak ffmpeg setting, but there are still some stalling issues.. 2018-08-05 09:29:39 +01:00
Godzil
a679573bf3 Add support to change the user agent. 2018-08-01 21:26:11 +01:00
Godzil
ce65324c57 Add a message before login just to look pretty. 2018-08-01 20:38:14 +01:00
Godzil
a0f10252a1 Add back the old login method as fallback. 2018-08-01 20:37:50 +01:00
Godzil
6e638488dc Update user agent. 2018-08-01 20:37:07 +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
ab35bb4439 Add @ssttevee method of authentication (from pull request #43) 2018-08-01 02:07:21 +01:00
Godzil
b48877b786 Prepare to add multiples logins methods 2018-08-01 02:05:15 +01:00
Godzil
a582b15103 Check if the we got proper information about the session,
else die with a lot of suffers!
2018-08-01 00:50:38 +01:00
Godzil
da3a51991c Properly use the config info for API endpoint informations. 2018-08-01 00:49:49 +01:00
Godzil
22f70c86f5 Add a function to make the cookie monster happy! 2018-08-01 00:48:38 +01:00
Godzil
0daf4d895f Stop silently ignore login issues 2018-08-01 00:47:57 +01:00
Godzil
80165a76e0 Use a proper UUID v4 instead of the weird code to generate a device id 2018-08-01 00:47:33 +01:00
Godzil
a6b025bdbf Add a proper cookie store. 2018-08-01 00:46:14 +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
987e424324 Force an exit if authentication failed! 2018-07-30 22:47:35 +01:00
Godzil
523c780b18 Force to use a user account 2018-07-30 22:47:35 +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
6ad4cbed0a make login work 2018-07-30 22:45:28 +01:00
Godzil
090c7e4789 Trying to fix #59 by adding a referer to the header. Seems to fix it but need to be throughfully tested.. 2018-03-29 20:40:17 +01:00
Godzil
10d71944d9 Fix lint error 2017-08-21 16:08:58 +02:00