Commit Graph

54 Commits

Author SHA1 Message Date
Moss ecfdad54c5 Curl: Removed Unnecessary Headers 2022-10-01 14:31:51 -04:00
Moss 178a803fb6 CMake: Added 'DROPOUT_DL_TESTS' Option
If not set tests will not be build.
2022-10-01 14:30:08 -04:00
Moss 701c98291b Helpers: Removed Stray 's' 2022-10-01 14:28:57 -04:00
Moss 3c77375858 Helpers: Added 'format_filename' Function
This function actually handles non-alphanumeric characters such as ','
and ';'. This means that files with possibly invalid names are no longer
created.
2022-10-01 00:35:53 -04:00
Moss 1749401745 Readme: Checked 'Create Tests' Off TODO 2022-09-30 23:54:34 -04:00
Moss d0989e4b6b Tests: Updated Constructor Syntax 2022-09-30 23:47:32 -04:00
Moss d70e2973de Readme: Fixed Typo 2022-09-30 22:54:16 -04:00
Moss 3f4fed0695 Readme: Added Missing Information About Chrome Cookies 2022-09-30 22:52:48 -04:00
Moss 4cf0d70595 Tests: Added Series Tests
I forgot to actually include the files the last time I commited this.
Oops.
2022-09-30 22:49:54 -04:00
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