Topic: smash or pass for e621.

Posted under e621 Tools and Applications

made this with chat gpt (I did 1% of the work), give me some suggestions on what to add or what to fix (there is a bug with the light and dark mode toggle). Hopefully someone with more technical know how helps me fix this mess. Here is the github:

https://github.com/coldasicecool5/smash_pass_e621

Sorry for my stupidity, but I'm not a programmer and am not sure how to run something like this. I tried pip installing the things listed on requirements.txt so I had greater versions, then executing smash_pass.py, but that just caused a command prompt window to open then immediately close. If I try to run it from the command prompt, I get an error that mentions lines 42 and 43 and say:

"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0h 27 Mar 2018'. See: https://github.com/urllib3/urllib3/issues/2168

Updated

crocogator said:
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0h 27 Mar 2018'. See: https://github.com/urllib3/urllib3/issues/2168

The requests library depends on urllib3.
What version of requests do you have installed ?
I have requests 2.27.1 installed and I'm having no issues running the script.

Updated

justfortheapi said:
The requests library depends on urllib3.
What version of requests do you have installed ?

2.31.0, I guess?

>python -m pip show requests
Name: requests
Version: 2.31.0
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: [email protected]
License: Apache 2.0
Location: c:\users\<my name>\appdata\local\programs\python\python37-32\lib\site-packages
Requires: certifi, charset-normalizer, idna, urllib3

  • 1