When using a suspended account to download original images, the script may keep saying Failed! (Wrong MIME) and retry. The script should stop downloading them and notify the user, or ask to download resized images.
The unblocked time can be seen on E-Hentai Forums, though I think it's not needed to show the time to the user.
Here is the response data when accessing original images or user-related pages (like Favorites, My Home, My Uploads, My Tags, etc.) with a blocked account:
HTTP/1.1 200 OK
Date: Tue, 10 Mar 2020 17:34:11 GMT
Server: Apache
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 136
Content-Type: text/html; charset=UTF-8
X-Varnish: 278459542
Age: 0
Via: 1.1 varnish-v4
Accept-Ranges: bytes
Strict-Transport-Security: max-age=31536000; preload;
<p class="ip">[<a href="https://exhentai.org/">Front Page</a>]</p>This page is currently not available, as your account has been suspended.
When using a suspended account to download original images, the script may keep saying
Failed! (Wrong MIME)
and retry. The script should stop downloading them and notify the user, or ask to download resized images.The unblocked time can be seen on E-Hentai Forums, though I think it's not needed to show the time to the user.
Here is the response data when accessing original images or user-related pages (like Favorites, My Home, My Uploads, My Tags, etc.) with a blocked account:
The issue may be related to https://github.com/ccloli/E-Hentai-Downloader/issues/153#issuecomment-596055839 .