Code Monkey home page Code Monkey logo

hb-dl's People

Contributors

eanmclaughlin avatar lunatrius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eanmclaughlin

hb-dl's Issues

File name filtering

I'm trying to get this script (using -d) to filter results to only specific filetypes. At the moment, it seems this is only searching a list of product names, rather than a list of filenames. Would it be possible to change this or make it an option?

hb-dl cannot open humble bundle library

After logging in (replace fake credentials with real ones), the script cannot read the keys...

 ./hbdl.py -r
Opening /home...
Trying to log in...
Username [xxxx]: [email protected]
Password:
Password (retype):
Re-opening /home...
Did not land on /home, stopping!
  https://www.humblebundle.com/login?goto=%2Fhome
Traceback (most recent call last):
  File "./hbdl.py", line 542, in <module>
    main()
  File "./hbdl.py", line 507, in main
    products = [data['products'][key] for key in data['products']]
TypeError: 'NoneType' object is not subscriptable

unicode decode problems on game titles ("Brütal Legend")

Script works great, but cannot process all purchases on issueing hbdl.py --list if you own the game Brütal Legend.

$ hbdl.py --list > list.txt

Traceback (most recent call last):
  File "./hbdl.py", line 436, in <module>
    main()
  File "./hbdl.py", line 429, in main
    size = process_download_products(dirs, products, args.dry)
  File "./hbdl.py", line 313, in process_download_products
    print_title(product['human_name'])
  File "./hbdl.py", line 259, in print_title
    print '== %s' % title
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 5: ordinal not in range(128)

The redirected output list.txt contains then only some games, but not all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.