It was literally like that. I had a script of about 310 lines and the main function was like 10-20 lines of code. I had a very nice Setup of objects that handled all functionality possible behaviours independent and so my main function was just receiving a user input from another function and add accordingly which included like 3-4 different scenarios that are being handled in the main function.


You should post the code!
Here you go: https://gitlab.com/foss9293204/southpark-downloader
Keep in mind, this is in production code that works in a testing environment, but is not ready yet. Theres also almost no documentation.
Is it normal to need an account to view code on GitLab?
Unfortunately, yes
Then sadly, the code shall remain a mystery for me.
See my other edited comment.
Idk, this is the first time I used gitlab in private (i literally just set up my personal gitlab account for this, since pastebin complained about some parts of the code).
Edit: It should be publically visible now: https://gitlab.com/Aipathon/southpark-downloader