How to download the entire directory from the ADF mirror?

Since 2021.02.03, adf.rocks offers it's mirror via the FTP protocol at ftp://adf.rocks. Most dedicated FTP clients allow downloading entire directories.

For historical reasons, below is the manual on how to do that using the http(s) version:

One of the best options for that is to use wget.

This tool is available on all major desktop platforms, and some less usable ports exist for Android. Prebuilt Windows binaries can be found here.

The following steps assume Windows 10 as the OS of choice, but are easily generalized to other systems.

  • Open PowerShell, cmd or Terminal in the directory you've downloaded your copy of wget to.
    The easiest way is to navigate to that directory in the Windows Explorer and right-click in the empty space while holding down the shift key. In the context menu then select "Open PowerShell here".

  • Invoke the wget with the command like this:
    .\wget.exe --recursive --no-parent -e robots=off --reject-regex "sort=" "FullPathInMirror"
    For example, if you want to download /OdinCG/Sets/Boy Shorts/ from the mirror you can use
    .\wget.exe --recursive --no-parent -e robots=off --reject-regex "sort=" "https://adf.rocks/OdinCG%20%282%29/Sets/Boy%20Shorts/"
    Note that the trailing slash in the path (...Shorts/) is critically important.

If all went fine, you should now have a directory called "adf.rocks" where all the downloaded files are located. Most subfolders will also contain a file called index.html, these are a side effect of this download method, and can be safely removed.

Important caveats:

  • wget is an alias for Invoke-WebRequest in PowerShell, so you can't just type wget even if the .exe is in the %path% — you'll have to use wget.exe instead
  • on-screen keyboards may attempt to autocorrect "--" into ""; override this behavior for the commands to work as intended

How to download the entire directory from the content lister at 5ur3kg.gq?

We have a purpose-built script just for that. See here.

If you like to suffer, it is possible to get some results with just the wget. NOTE: this solution may fail for directories with non-Latin characters in their names.

First, set up wget in the same way as described in the question about the ADF mirror.

The command to then use is
.\wget.exe -r -e robots=off --accept-regex "https://5ur3kg.gq/public|https://5ur3kg.gq/\?dir=public/DIR" "https://5ur3kg.gq/?dir=public/DIR"
where DIR is the directory you want downloaded. For example, for Beater/Fantia directory the command will be
.\wget.exe -r -e robots=off --accept-regex "https://5ur3kg.gq/public|https://5ur3kg.gq/\?dir=public/Beater/Fantia" "https://5ur3kg.gq/?dir=public/Beater/Fantia"


What are the "ex" links? Why do some e-hentai tags exist, but have no galleries tagged with them?

Some of more questionable for advertisers content is not available on the main e-hentai.org site for most users, but is available on eXhentai. The exact algorithm for obtaining access to it is a mystery, however any of these steps may help:

  • have an actively used account that is at least a week old

  • upload valuable content to the site (avoid uploading content from the DNP list and DMCA-happy creators, and the questionable content (shota/loli/beastiality/etc.) — the latter is likely already uploaded, and you have no reliable way to verify it yet)

  • make a one-time donation equivalent to $20 or more (Bronze star)

Once you think you are eligible, clear all cookies for all e-hentai related domains (*.e-hentai.org, *.exhentai.org, hentaiverse.org, *.hath.network), and then log in to the e-h. Only after a successful login you may attempt to open eX again.

In case of failure try again in a few days. The cookie cleaning procedure will need to be repeated as well.
Avoid browser extensions claiming the ability to grant you instant eX access and importing other people's cookies. These solutions are extremely unreliable and may even cause your account suspension.

Note: unconfirmed reports state that new accounts registered from some countries may never be eligible to access eX. In this case you'll have to use a VPN or other kind of proxy to register one.