Commit Graph

73 Commits

Author SHA1 Message Date
Moss f62a2f0c59 Episode: Added Check For Valid Episode URL 2022-09-28 23:59:05 -04:00
Moss 144353558c Options: Added 'output' and 'output-directory' Options 2022-09-28 23:27:48 -04:00
Moss facb363608 Readme: Added Options to Readme 2022-09-28 23:15:20 -04:00
Moss 7315c428c0 Options: Added 'options' Class
This class handles all command line arguments.
2022-09-28 23:10:35 -04:00
Moss b5c3e1e3bc Quality: Added 'all' Quality Option
This allows for the user to download all qualities at once and have them
be automatically placed into quality folders.
2022-09-28 22:22:20 -04:00
Moss 900303d9d0 Readme: Updated Cookie Information 2022-09-28 22:13:43 -04:00
Moss a168a642fd Quality: Added Qualities to 'episode' Object
This is done with parallel arrays. The first time the 'get_qualities' function is called it gets the
qualities and urls and places them into the 'qualities' and
'quality_urls' arrays and returns the 'qualities' array. If the function
has already run it returns the 'qualities' array. It can be forced the
re-find the qualities by clearing the 'qualities' array.
2022-09-28 21:59:42 -04:00
Moss 53bd57cd17 Cookies: Refactored Cookies System
Now the file that profiles are found from is only set once in one place
and the #ifdef statements are inside of the function rather than
redefining the same thing multiple times.
2022-09-28 21:02:56 -04:00
Moss 52d3579a1e Episode: Refactored Episodes as Objects 2022-09-28 20:56:10 -04:00
Moss 6165053198 Main: Moved to 'src' Folder 2022-09-28 20:03:31 -04:00
Moss e0eabdb67e Chrome: Added basis for decrypting chrome cookies
Not currently functional
2022-09-28 20:02:10 -04:00
Moss d1e434b610 readme: Added basic use info 2022-09-13 21:07:03 -04:00
Moss 2a70e1dfa4 Verbosity: Fixed issue caused by find and replace
Replaced url with video_url.
2022-09-13 21:05:51 -04:00
Moss d8b3b65216 Verbosity: Added 'verbose' bool
If the 'verbose' bool is true the terminal will be flooded with debug
info.
Currently the 'verbose' bool is not passed to curl because that is to
much info even for me.
2022-09-13 21:01:55 -04:00
Moss 315d117a61 Episode Page: Fixed issue with adding extra text for no reason 2022-09-13 21:00:04 -04:00
Moss e47585bfda Config Parsing: Move getting video url to seperate function 2022-09-13 20:58:30 -04:00
Moss e8436bd40e Progress Bar: Updated function to not duplicate writing
Previously when the number of MiBs was shorter the previous writing would not be
cleared.
2022-09-13 20:03:38 -04:00
Moss f5d538febe User Input: Remove function changing console to non-canonical mode 2022-09-13 20:03:02 -04:00
Moss 63baeaabde Curl: Added progress bar
The bar displays the percent downloaded and also the amount in MiB
2022-09-13 01:56:13 -04:00
Moss d5433c348b Helper Functions: Added time_ms functions
This function return the current time in miliseconds
Source: https://stackoverflow.com/questions/2831841/how-to-get-the-time-in-milliseconds-in-c
2022-09-13 01:54:44 -04:00
Moss bc74baaffd Curl: Added functions for the getting of the pages
Additonally this renders the user-auth-code unnecessary.
2022-09-11 13:25:22 -04:00
Moss d1b0d66bfb Cookies: Added better options for cookie access
For firefox a file can be created which contains the path to a firefox
profile. This then allows the cookies to be directly read from firefox
when running the program.
For any other browser the cookie has to be placed into two files named
auth_cookie and session_cookie.
2022-09-11 13:21:24 -04:00
Moss 7fb381c532 Inital Commit 2022-09-10 20:19:41 -04:00