Ackater / writing.com-archival

Utility for downloading Interactives from Writing.com
https://ackater.github.io/writing.com-archival
23 stars 3 forks source link

Index Error: list index out of range (again) #22

Closed HyperPeanut closed 4 years ago

HyperPeanut commented 4 years ago

Untitled

Ackater commented 4 years ago

Strange, mine seems to be running fine. Did you retry?

HyperPeanut commented 4 years ago

Yes and I tried it with several different interactives and it still didn't work.

Ackater commented 4 years ago

Mine is still running fine, and I am unable to reproduce. It could be related to your account. Could you try with a new account maybe?

bixoa commented 4 years ago

I am having the same issue with interactives.

bixoa commented 4 years ago

I forked the project and added files for it to be runnable from within a docker container to show the reproducibility of the problem.

HyperPeanut commented 4 years ago

Tried creating a new account, redownloaded the program, and ran it while connected to a vpn. Got the same exact error every time.

Ackater commented 4 years ago

Looks like it's an issue with the login. I was using an older session file which was logged in and worked fine

Ackater commented 4 years ago

Please try the update, changed the user-agent to a proper one instead of a Google one which seems to fix the login.

Also @bixoa if you want to submit a pull request I'll merge it in. Though wouldn't it be better to install the python dependencies before copying code? For better caching

HyperPeanut commented 4 years ago

It works. Thank you.