Version 2020.8.1.1

This update contains some significant changes, and I recommend creating a backup of your HDoujin Downloader folder before updating, just in case. If you have any problems, let me know, and you can always downgrade to an earlier release here.

From this release onward, I’m switching to a CalVer versioning scheme (YYYY.MM.DD.Build). Given the nature of HDoujin Downloader as software that requires frequent updates, I think the release date is more valuable information than an arbitrary version number.

This update addresses various site issues, as well as problems related to Cloudflare’s “I’m Under Attack” mode. I’ll be releasing more module updates throughout the day, but I wanted to make this update available first, since it also fixes problems with module synchronization.

Site updates

Some of the more popular sites have been fixed with this release, and more will be fixed throughout the day. The Cloudflare challenge bypass procedure has been updated, and now uses either Firefox or Google Chrome to solve the challenge (depending on what you have installed). The “cf-tool.exe” binary has already been updated (now called “cloudscraper.exe” for clarity) and can optionally be enabled instead under “Tools > Preferences”, but it will fail for some users.

If you’re finding the challenge isn’t being solved, review your Cloudflare settings and try unchecking the “Headless” setting. This will allow you to solve a captcha to bypass the challenge if necessary. I aiming am to make this scenario less likely to occur with future updates.

Reorganized options

“Options” has been moved from “File > Options” to “Tools > Preferences”. Likewise, “Site Options” has been moved to “Tools > Site Preferences”.

Preferences are now organized into nested sections and are fully searchable.

Formatting string improvements

This release contains more formatting string improvements based on feedback I received from the last update. There are four new tokens: %GID%, which corresponds to the gallery ID in any context, as well as %PUBLISHER%, %CONVENTION%, and %MAGAZINE%. These are not yet implemented for all sites, so let me know if you come across an instance where they are not working as expected.

Previously, numeric values could be padded with 0s using specific tokens such as %PAGE1%, %PAGE10%, %PAGE100%, %PAGE1000%, etc. This has now been generalized so that you can apply an arbitrary amount of padding to any numeric value. This is achieved by adding an argument to the token. For example, %PAGE100% is equivalent to %PAGE(000)%. The number of 0s corresponds to the total length of the padded string.

You can find a new, detailed formatting string guide here.

Themes

I wanted to add support for themes with this release, and basic theme support is there. You can now style most parts of the interface using CSS. I have not included any themes by default at the moment, because this feature is currently in its infancy and there are some visual bugs here and there. However, you’re welcome to experiment with it and I can provide an example style sheet upon request.

You can view the full changelog here. The next goal is to upload some more module updates, and then start working on improving metadata-related features as well as working on more feature requests.

If you have any problems with this release, let me know, and you can always downgrade by downloading an older version from the releases page.

 

30 thoughts on “Version 2020.8.1.1

  1. pendo7

    Q: Is this app still being actively maintained and updated? the latest post and version shown on this site looks to be from 2020 and there seems to be a more recent version on github, but it’s not known how that one is related to the one being licensed here. Could you please clarify?

    Reply
    1. DoujinDownloader Post author

      Yes, I just haven’t made an update announcement post in a hot minute! The latest version on GitHub is the same app (the linked version is currently a pre-release, but should be stable). And as far as licensing goes, it’s all the same– You can use any version of HDoujin Downloader, old or new, with the same license details.

      I apologize for the confusion!

      Reply
      1. pendo7

        No problem. Thanks for confirming. Just wanted to check before I think about buying a license (or not).

        Reply
  2. Antony

    Mangadex had a big attack on the site recently, and I think the changes they made broke compatibility with the downloader

    Reply
    1. DoujinDownloader Post author

      It’s now been fixed! It should be working again the next time you sync your modules (which occurs automatically at each restart).

      Let me know if you have any problems!

      Reply
      1. Antony

        Thank you for the module fix, but looks like MangaDex is starting rebuilding the site to v5 to solve their security issues. So they’re offline for 1-2 weeks. Expecting that when they’re back, the modules will need to be re-updated again.

        Thanks for all the hard work!

        Reply
  3. Shiro

    Thank you for your awesome work! Question: is it possible to get the program to download manga from Comic Walker?

    Also, I can’t update the program to the latest version. I’m getting a Framework error that says:

    “Unhandled exception has occured in your application. If you click cContinue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. The type initializer for ‘.noitpecxe na wehrt’

    Reply
    1. DoujinDownloader Post author

      Comic Walker is not currently supported, but I’ll look into it and see what I can do!

      As for the problem you’re describing, it’s possible that you’re running into this problem. Try the solution I’ve provided there, and let me know if it solves it for you!

      Reply
      1. Shiro

        It would be super awesome if it did, especially since I’ve tried many comic/manga downloaders so far, and I’m liking yours the most!! (Def gonna buy/donate in a bit better times!)

        As for the solution – yeah, I quickly realized that I made mistake, and later I unpacked all files and ran it without problems, though it did suddenly exit after a while, and with a similar error. Though I haven’t been able to reproduce the second error so far, so… maybe it was just my firewall being overzealous or something.

        Reply
    1. DoujinDownloader Post author

      Yes! ImageFap has been working for a while. I just tested it out with the latest release to make sure it’s still working, and all seems good from my end. If you have any problems, let me know!

      Reply
  4. Rusty student1

    Having trouble adding hitomi.la links, my netframe is up to date; the title is added, but Chapters are N/A, pages and progress are “?”, file at 0bytes,etc
    Tried redownloading and using new and old versions, but I still get this

    Reply
    1. DoujinDownloader Post author

      Thanks for describing the problem so thoroughly. This sort of problem is often caused by ISPs blocking access to the site, but the fact it’s able to get the titles (and it’s not just a gallery ID) suggests that there’s something else going on. If you generate a log file and send it to me, I’ll check it out!

      Reply
      1. rustystudent1

        I sent log files via contact form, also I just tried downloading using the 2021.1.20 version, and it worked fine (but it’s still the same error with versions older than 2020.8.1.1 it seems)

        Reply
        1. DoujinDownloader Post author

          Ah! The support module for Hitomi uses new APIs that are only present in the 2021.x.x.x updates. Is there a reason you wanted to keep using 2020.8.1.1?

          Reply
    1. DoujinDownloader Post author

      For sure! It’s now been added, and should be working the next time you sync your modules (which occurs automatically at each restart).

      If you have any problems, let me know!

      Reply
      1. tabuz

        Hi thanks for adding the site, but it seems the downloader missed the first page/image?

        Also can you make showing the splash screen optional? It loads quite slow in my pc and it’s always on top so I can’t browse while opening the program.

        Reply
        1. DoujinDownloader Post author

          You’re right! I noticed a Twitter advertisement banner as the first image for one of the chapters and mistakenly assumed they were all like that. I’ve now uploaded a module update, so it should be working as expected the next time you sync your modules (which occurs automatically at each restart).

          As for the splash screen, are you using v2021.1.18.1 or v2021.1.20.0? The splash screen was changed in the latest release so that it no longer sits on top of other windows because a lot of other users had the same complaint (it was an oversight on my part for sure).

          Reply
    1. DoujinDownloader Post author

      Good question. I assume you want the original date as part of the file metadata? I think that’s a great idea, and it can easily be added. I’ll have it save the file with the original date where possible with the next release.

      Reply
  5. hitomi

    18:47:55 download [!] An error occurred while downloading https://aa.hitomi.la/images/d/09/b69f5e2c58ee6288e0dd1c03fa70f16e5421e59dcbaa0ae6d2554f54b8c7409d.png: System.Net.WebException: 원격 서버에서 (403) 사용할 수 없음 오류를 반환했습니다.
    위치: System.Net.WebClient.DownloadFile(Uri address, String fileName)
    위치: ‏‌‌‌‫‭‭‏‍‌‏‫​‍‏‫‮​​‍‏‌‪‮.‭‪‪‌‭‮‫​‎‪​‪​‫‏‭‪‭‫‪‍‏‏‪‫‮(‌‎‬‏‪‌‪‭‭‮‎‭‮‫‭‎‭‎‭‪‬‫‪‮ , String , ​‫‬‫‬‎‌‭‬‫‌‭​‫‮‫‭‍‏‭‬​‍‭​‪‮ )

    Reply
  6. lacius96

    Hi, I have a problem downloading, it’s not creating directory and page count is 0
    on release 1.19.9.32 r10 I have no problem

    for example, these are error on my part:
    https://mangadex.org/title/35730
    https://mangadex.org/title/44117

    and the log is:
    07:34:15 page grabber[x] System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
    at ‎‭​‍‮‌‏‎‪‍‭‏‌‎‬​‮‮‭‮‍‏​‬‮.‬‪‍‏‏‍‏‮‬‎‬‍‫‏‍‎‏‍‪‮(IEnumerable`1 , ​‮‭‫‎‎‮‫‫‍‏​‭‏‌‌‍‫‮‬‫‎‬‎‮ , ‍‭‭‭‪‫‏‪‍‬‭‬‎‫​‫​​‫‪‭‫‌‏​‪‮ )
    at ‭‮‬‍‬‪‏‌‪‮‭‭‪‫‪‫‏‮‭‭‏‫‏‎‪‮.‪‭​‍‪‎‌‭‎‫‫‍‫‭‪‪‮‌‭‎​‫‪‎‎‮‮‌‮(String& )

    I checked the manga tilte & chapter title is not that long, it will only be like
    D:\Manga\Touko-san wa Kaji ga Dekinai\Chapter 6.2\01.png
    D:\Manga\Gochuumon wa Usagi desu ka\Chapter 10 Chino in a Strange City\01.png

    hope you fix this, thx!

    Reply
    1. DoujinDownloader Post author

      Wow, thanks for pointing that out! I was able to reproduce the problem, and found the cause. I’m uploading a fix as we speak– It should be working with version 2020.8.5.0.

      Reply
      1. lacius96

        thanks! do you know what this means? it’s also not creating folder and 0 count but for different reason

        11:04:48 http [x] Exception was thrown when accessing https://mangadex.org/api/chapter/758136/: System.Net.WebException: The remote server returned an error: (451) Unavailable For Legal Reasons.
        at System.Net.HttpWebRequest.GetResponse()
        at ‏‬‮‎‎‪‌‬‌‪‪‬‍‭‭​‎‏​‍‌​‏‏‮.‍‭‭‌‌‏‬‪‫‎‌‫‮‫‌‬‭‌‌‫‫‮‮(String , CookieContainer , String[] , String , ‮‌‏‍‮‏‫‬‫​‬​‍‍‮‍‮‪‎‏‭‫‌‍‫‫‮ , String[] )
        11:04:48 page grabber[x] System.ArgumentNullException: Value cannot be null.
        Parameter name: source
        at ‎‭​‍‮‌‏‎‪‍‭‏‌‎‬​‮‮‭‮‍‏​‬‮.‬‪‍‏‏‍‏‮‬‎‬‍‫‏‍‎‏‍‪‮(IEnumerable`1 , ​‮‭‫‎‎‮‫‫‍‏​‭‏‌‌‍‫‮‬‫‎‬‎‮ , ‍‭‭‭‪‫‏‪‍‬‭‬‎‫​‫​​‫‪‭‫‌‏​‪‮ )
        at ‭‮‬‍‬‪‏‌‪‮‭‭‪‫‪‫‏‮‭‭‏‫‏‎‪‮.‪‭​‍‪‎‌‭‎‫‫‍‫‭‪‪‮‌‭‎​‫‪‎‎‮‮‌‮(String& )

        Reply
        1. DoujinDownloader Post author

          My understanding is there’s some manga on the site you need to specifically request access to, and access is granted to your account. If you’re able to see the chapters in your web browser while logged in, try providing login details under “Settings > Logins”. It should hopefully be able to get the chapters then.

          Reply
          1. lacius96

            I thought I already put that login info but turns out it’s for mangadex.com not .org
            that work like a charm, thanks!

Leave a Reply to rustystudent1 Cancel reply

Your email address will not be published.