mosswg / dropout-dl

A tool for downloading dropout.tv episodes
GNU General Public License v3.0
28 stars 7 forks source link

Downloading seasons or series causes json parse exception #24

Open Gtaray opened 3 months ago

Gtaray commented 3 months ago

Describe the bug When attempting to download a season I receive a json parse_error exception. This happens before downloading begins when its getting the list of all episodes in that season. Below is the console output, though note that repeated attempts of this fail at different episodes.

Logging in... [Successfully logged in. [Caching tokens... [Cached tokens to /root/.cache/dropout-dl/token-cache [Dimension 20: Fantasy High: Junior Year: Summer Scaries Summer Breakdown Not All Who Wanda Are Lost Under Pressure Mall Madness Party Politics Stress Tested Fracas at the Frostyfaire Folk Festival Vulture Clash Cursed Out terminate called after throwing an instance of 'nlohmann::json_abi_v3_11_2::detail::parse_error' what(): [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'e'

To Reproduce Attempt to download a season. I'm using the command docker run --rm -it -v D:\Dropout-dl\login:/app/login -v D:\Dropout-dl\out:/Downloads dropout-dl:latest --output-directory /Downloads --captions -s https://www.dropout.tv/dimension-20/season:21

Expected behavior The season downloads

Desktop (please complete the following information):