Page 18 of 18

Re: [GuideMe] Tease Downloader with EOS Support

Posted: Sat May 30, 2026 2:59 pm
by PlayfulGuy
GDError404 wrote: Wed May 27, 2026 2:36 am Hi PlayfulGuy! I'm running the script from source on linux, and I'm getting a crash when trying to download The Estim Experiment V2 with "Adapt javascript for GuideMe" disabled. Just before the program crashes, the log includes this line

Code: Select all

File "/home/username/Downloads/MiloDownloader/EOSTease.py", line 2986, in add_init_module
  if script['init'] != "":
    ~~~~~~^^^^^^^^
KeyError: 'init'
It seems like changing the if statement to

Code: Select all

if script.get('init', "") != "":
fixes the issue. Apologies for not having the whole log, I'm having to type out the log manually as it doesn't save anywhere and I just have a screenshot as the program is closing
I finally got time to update my code, and realized that I never even knew that python dictionaries had that get method. What I would have done, and do all through my code is

Code: Select all

if 'init' in script and script['init'] != "":
I should have known there was an easier way and gone looking for it. That's what happens when you're self-taught and learn just enough to get something done. There's so many more layers left undiscovered....

Thanks again,

PG