stashapp / CommunityScripts

This is a public repository containing plugin and utility scripts created by the Stash Community.
https://docs.stashapp.cc/add-ons/
GNU Affero General Public License v3.0
188 stars 144 forks source link

AdultTimeDownloader quirks #354

Open feederbox826 opened 3 months ago

feederbox826 commented 3 months ago
Dankoman commented 3 months ago

Can't say that Python is my strongest suit, and I have probably broken every coding rule there is. But this is what I hacked together. Firstly I added a check to see if there is a .funscript file already. Secondly I added code to retry on connection error and continue with the next file of it can't download.

need to test it a bit more until I feel confident enough for a PR. Here is what I did if anyone want to try, seems to be working. https://github.com/Dankoman/CommunityScripts/blob/main/plugins/AdulttimeInteractiveDL/AdulttimeInteractiveDL.py

feederbox826 commented 3 months ago

Nice, this was mostly for my own tracking haha

If you don't mind me asking, how did you figure out the key for the sources? I can see this having a lot of use for other sites as well but can't seem to decrypt the studio code part

Dankoman commented 3 months ago

I'm almost afraid to tell, but I asked an AI-friend named Claude