Flood göndermek, insanların floodlarını okumak ve diğer insanlarla bağlantı kurmak için sosyal Floodlar ve Flood Yanıtları Motorumuza kaydolun.

Oturum aç

Flood göndermek, insanların floodlarını okumak ve diğer insanlarla bağlantı kurmak için sosyal Floodlar ve Flood Yanıtları Motorumuza giriş yapın.

Şifremi hatırlamıyorum

Şifreni mi unuttun? Lütfen e-mail adresinizi giriniz. Bir bağlantı alacaksınız ve e-posta yoluyla yeni bir şifre oluşturacaksınız.

3 ve kadim dostu 1 olan sj'yi rakamla giriniz. ( 31 )

Üzgünüz, Flood yazma yetkiniz yok, Flood girmek için giriş yapmalısınız.

Lütfen bu Floodun neden bildirilmesi gerektiğini düşündüğünüzü kısaca açıklayın.

Lütfen bu cevabın neden bildirilmesi gerektiğini kısaca açıklayın.

Please briefly explain why you feel this user should be reported.

CLI tool to download your Library from Humble Bundle

Have been meaning to create this for a while so I finally did.This tool will download your Humble Bundle library for offline access.


Feedback welcome. I only get ebooks from there so if this breaks with other content then let me know and I can fix it.

*Edit: Thank you for everyone reporting issues they are having with this tool. I already made a handful of fixes and more improvements are still to come…*

*Edit: Version* `0.2.0` *has* ***Humble Trove*** *support!!*

Benzer Yazılar

Yorum eklemek için giriş yapmalısınız.

28 Yorumları

  1. Any chance of a variant that doesn’t download the files themselves but just the item names?

    I want to build a list of what I own so its easier to see when a new bundle comes what comics in it I actually need

  2. Sometimes I get a partial download, and the script moves on to the next item without giving an error message. If I don’t scrutinize the script output, I can miss these. I probably missed a lot of them, since I didn’t know it was happening. It’s going to be difficult to find them, since I need to attempt opening the file to know if it’s corrupt or not. And I have a lot of downloads. [Here is a screenshot of the problem.](https://i.imgur.com/xZhhFSD.png)
    Can you add something to the script that makes it easier to re-download these corrupt files?

  3. I used the –keys option. It worked for the first 54 books in the bundle. Then it stopped downloading. It gave some error messages. I started it up again, and it started from the beginning again. It is re-downloading all the books it already downloaded. It looks like the .cache.json file contains the filenames that were downloaded, but maybe the names aren’t in the appropriate format when the –keys option is used.

  4. ​

    This might be beyond the scope of your post, but I’m going to try anyway, since I can’t find the information elsewhere.


    I’m new to python. I cloned your repository from github. Then I opened download_library.py in the python 3.8.1 idle app. Then I tried to “run” it. The result is shown below. What do I really need to do to run the code from within idle, or create my own executable?



    Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32

    Type “help”, “copyright”, “credits” or “license()” for more information.


    = RESTART: F:\humblebundle-downloader\humblebundle_downloader\download_library.py

    Traceback (most recent call last):

    File “F:\humblebundle-downloader\humblebundle_downloader\download_library.py”, line 3, in <module>

    import parsel

    ModuleNotFoundError: No module named ‘parsel’


  5. Is there any chance you could add support for downloading the entire Humble Trove Library as well?

  6. Can I exclude categories? I’m currently mainly interested in archiving my ebook purchases.

  7. From your faq:

    hbd-cookies.txt in this format:
    (…) __ssid=XXXXXXXX (…)

    I’m looking at the cookies my browser saves for http://www.humblebundle.com, and it has no __ssid. All I have is:


    When I try to use it without a valid __ssid, I get the error:

    raise ValueError(‘Invalid header value %r’ % (values[i],))
    ValueError: Invalid header value b’hbflash=None(…)

  8. Could I use this to download just a specific bundle? …ideally excluding MacOS installers.

    I don’t currently have enough free disk space to re-download my entire Humble Bundle library and I’d much prefer to just streamline my existing habits of downloading all Windows, Linux, Audio, and Book downloads from a bundle and then backing them up to dvdisaster-enhanced JVC Taiyo Yuden DVD+Rs.

  9. very nice but I’m getting this when I try to run the download command:
    user@puma:~$ hbd download –cookie-file hbd-cookies.txt –library-path “Downloaded Library” –progress
    Traceback (most recent call last):
    File “/usr/local/bin/hbd”, line 8, in <module>
    File “/usr/local/lib/python2.7/dist-packages/humblebundle_downloader/cli.py”, line 64, in cli
    from .download_library import download_library
    File “/usr/local/lib/python2.7/dist-packages/humblebundle_downloader/download_library.py”, line 102
    ), end=’r’)
    SyntaxError: invalid syntax

  10. Trying to run on Windows 10 and gen-cookies command is throwing the following:

    Traceback (most recent call last):
    File “c:python27librunpy.py”, line 174, in _run_module_as_main
    “__main__”, fname, loader, pkg_name)
    File “c:python27librunpy.py”, line 72, in _run_code
    exec code in run_globals
    File “c:Python27Scriptshbd.exe__main__.py”, line 7, in <module>
    File “c:python27libsite-packageshumblebundle_downloadercli.py”, line 60, in cli
    from .generate_cookie import generate_cookie
    File “c:python27libsite-packageshumblebundle_downloadergenerate_cookie.py”, line 14
    baked_cookies += f”{cookie[‘name’]}={cookie[‘value’]};”
    SyntaxError: invalid syntax

  11. Filters on things to download – e.g. soundtracks, ebooks, etc..

    Ability to run in a pure headless environment (I haven’t run it yet so I’m assuming it won’t work based on the instructions).

  12. I don’t have chrome installed (I use brave and firefox) and when running

    hbd gen-cookies

    it throws an error

    selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

  13. I already downloaded most of my bundles, is there a way to let it check what already exists?

  14. I have it churning through my library (about 100 bundles). What is the naming convention? It seems to be naming things random letters but I don’t understand what they mean. When I unzip the names are normal so its not a big deal.

    Edit: I think its naming the zip files and folders only the last letter of the bundle and file. (example C:\…humblebundlenx.zip) Not sure if that was intentional or not.

  15. Cool, that would be very useful, but I’m getting this error when trying to download:

    X:HumbleBundle>hbd download -c cookies.txt -l X:/HumbleBundle –progress
    Traceback (most recent call last):
    File “C:UsersJesseAppDataLocalProgramsPythonPython36Scriptshbd-script.py”, line 9, in <module>
    load_entry_point(‘humblebundle-downloader==0.0.4’, ‘console_scripts’, ‘hbd’)()
    File “c:usersjesseappdatalocalprogramspythonpython36libsite-packageshumblebundle_downloadercli.py”, line 64, in cli
    from .download_library import download_library
    File “c:usersjesseappdatalocalprogramspythonpython36libsite-packageshumblebundle_downloaderdownload_library.py”, line 3, in <module>
    import parsel
    File “c:usersjesseappdatalocalprogramspythonpython36libsite-packagesparsel__init__.py”, line 10, in <module>
    from parsel.selector import Selector, SelectorList # NOQA
    File “c:usersjesseappdatalocalprogramspythonpython36libsite-packagesparselselector.py”, line 8, in <module>
    from lxml import etree, html
    ImportError: DLL load failed: The specified procedure could not be found.

    I have no experience with Python, I don’t know how to fix this

  16. Does this support the [Humble Trove](https://support.humblebundle.com/hc/en-us/articles/115008249667-Humble-Choice-Perk-Humble-Trove)? It looks like it does not, so please consider that as a new feature. Most Humble downloads should theoretically be around forever, but Trove items expire, so I’d really like an automated way to save them. I’ll donate a subscription if you need it.

    Also, does this handle interrupted downloads properly? For example, suppose it’s in the middle of downloading something and my computer crashes. The next time I run it, will it continue that download, or at least start over? Or will it just leave the partial file around forever?

  17. I’d started on one too. Thanks for sharing! Could you add a feature to let me filter by type? I don’t need the MOBI files.

  18. Great idea! I can’t seem to get the cookie generation to work though. No window opens or anything.

  19. I read it would download missing content on subsequent runs but what about updated content? Eg: An Android/Linux app/game that was changed. That would be also great.

    Another thing is on the cookies retrieval, where a browser is opened. I’ll see if it’s usable on headless systems. Usually in cli programs it will display the URL to go and ask for the result so the user can log in from another computer.

    Anyhow this is extremely useful and I will definitely get to use it soon.

  20. I will certainly give this a shot this week, thanks!