Commit Graph

46 Commits

Author SHA1 Message Date
Moss 0406bca4cf
Episode: Fixed Url Parsing For Deciding What Type to Download
Now url in the format https://www.dropout.tv/videos/<title> work
2023-02-08 16:00:21 -08:00
Moss 590d6308aa
Login: Added Caching Session Token 2023-02-08 11:34:49 -08:00
Moss 7c185809eb
Cookies: Remove __cf_bm Cookies As it is Entirely Optional
Turns out you can get everything you need with just the session token
and cf_bm must be some kind of tracking token... After looking up
"cf_bm" it is clear that it is a bot managment token from cloudflare...
CloudFlare Bot Management... cf_bm :0. Damn it I spent so much time not
understanding what this is and I could have just looked it up. Anyways
it's no longer required for this program.
2023-02-08 10:51:53 -08:00
Moss 286fbb969b
Season: Changed How Episode Numbers Are Parsed For Seasons
Now episode numbers are scraped from the season page rather than counting.
This allow for specials (which dont have an episode number) to be saved
with a slightly different format.
2023-02-07 22:21:21 -08:00
Moss 3a8e904ebb
Episode: Added Downloading Captions With "--captions" 2023-02-07 21:33:49 -08:00
Moss 2ade05b175
Series: Fixed Passing Series Name to Season 2023-02-07 21:31:40 -08:00
Moss b3680b54c5
Login: Added Login System
Login info should be placed in a file with the following format:
email@example.com
password
2023-02-05 11:33:25 -08:00
Moss 6d80659af7
Episode: Moved Cookie and Util Functions to Separate File 2023-02-04 21:03:30 -08:00
Moss 19a379bd04
Season: Manually Give Episodes In The Season The Series and Season 2022-12-25 00:43:45 -05:00
Moss 24adf6446b
Episode: Added Check For Already Downloaded Episode 2022-12-25 00:42:02 -05:00
Moss d7a3f53f03
Episode: Removed Backslashs from Episode Names 2022-12-25 00:40:41 -05:00
Moss 00ab93dfbb
Episode: Fixed Support for HTML Character Codes in Title 2022-12-23 02:17:50 -05:00
Moss 229327bf37
Episode: Fixed Parsing Backslash in Name 2022-12-23 00:38:09 -05:00
Moss 4b9d4bf7f5
Naming: Updated to Use a Format With Numbers When Possible
Now using the format:
<series>/<season>/<series> - S<season #>E<episode #> - <episode>.mp4
2022-12-22 19:17:23 -08:00
Moss 0e8ad8c44d
Episode: Update Episode, Season, and Series Name Parsing
Now getting json metadata and parsing that.
2022-12-21 21:55:16 -08:00
Moss ea57f4477b
Meta: Changed Spaces to Tabs 2022-12-21 19:41:53 -08:00
Moss 35b4c181b3 CMake: Added 'DROPOUT_DL_BUILD_ALL' Option
This option will build four executables:
- dropout-dl-minimal (with curl without sqlite or gcrypt)
- dropout-dl-sqlite (with curl and sqlite without gcrypt)
- dropout-dl-full (with curl, sqlite and gcrypt)
- tests
2022-10-01 15:07:40 -04:00
Moss 39b45a081d Cookies: Added Clean Up After Getting Firefox Cookies 2022-10-01 14:39:29 -04:00
Moss 0085adf4d9 Cookies: Added Missing gcrypt Check to Chrome Decryption 2022-10-01 14:32:46 -04:00
Moss ecfdad54c5 Curl: Removed Unnecessary Headers 2022-10-01 14:31:51 -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 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 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 1c17c24f05 Main: Added Documentation 2022-09-30 01:20:23 -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 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 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 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 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