Commit Graph

45 Commits

Author SHA1 Message Date
Moss 350249aa16 Helpers: Added Support For Removing HTML Encoded Characters 2022-09-30 22:49:03 -04:00
Moss 3f592696d6 Tests: Fixed Issues And Made Prettier
Used the Second Dimension to make the output for tests easier to read
and look at.
2022-09-30 22:03:15 -04:00
Moss 750f250545 Tests: Added Series Tests
This will be the last set of tests added for now. Seasons don't have
easily testable functions.
2022-09-30 21:41:21 -04:00
Moss 274ddc5cc9 Tests: Changed to Having One Test Executable 2022-09-30 17:43:14 -04:00
Moss 4ea34e7383 Tests: Added First Tests 2022-09-30 17:31:22 -04:00
Moss de41e5cbde Episode: Fixed Getting Embedded Page 2022-09-30 17:30:42 -04:00
Moss a274e45106 Episode: Removed 'season_number' Value
It was unused.
2022-09-30 15:47:05 -04:00
Moss 1a82ddac32 Readme: Added TODO Section 2022-09-30 14:19:38 -04:00
Moss 1c17c24f05 Main: Added Documentation 2022-09-30 01:20:23 -04:00
Moss 5fea1190da Readme: Updated Readme With Updated Cookie Information
Additionally, added contribution information.
2022-09-30 01:14:49 -04:00
Moss e7eda7ca43 Season: Added Season Documentation 2022-09-30 01:14:07 -04:00
Moss d0950dcbaa Series: Added Series Documentation 2022-09-30 01:13:42 -04:00
Moss fc5cb4367c Episode: Added Episode Documentation 2022-09-30 01:13:18 -04:00
Moss 1091697689
Issues: Added Templates 2022-09-29 23:16:29 -04:00
Moss 5c86f201cd Cookie: Added Support For Chromium Based Browser
Created 'cookie' class to handle cookies easier. The 'cookie' class
contains a name, value, and length. The 'cookie' class also has
functions for getting values for an sqlite database and decrypting chrome cookies.
2022-09-29 22:42:45 -04:00
Moss 1f0d1b8baf
License: Added GNU General License 2022-09-29 18:10:35 -04:00
Moss eb39b10284 Options: Added '--output-directory' Option
This changes where the show files are placed.
2022-09-29 18:04:04 -04:00
Moss 05eec0da88 Series: Add Check for Getting Series Name 2022-09-29 17:16:30 -04:00
Moss 1926485b1a CMake: Updated CMake to Check for sqlite and libgcrypt 2022-09-29 17:14:32 -04:00
Moss cd72083b69 Options: Added Season Option
This allows an entire season to be downloaded at once.
2022-09-29 14:33:56 -04:00
Moss 570793c973 Curl: Updated Progress Bar to Show Filename 2022-09-29 14:31:13 -04:00
Moss 1138e0fc3f Options: Added '--series' Option
This allows for an entire series to be downloaded at once. There are
issues with filenames but it works mostly.
2022-09-29 03:04:57 -04:00
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