-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the humble trove #2
Comments
I was going to suggest this, totally agree, +1 humble trove. Btw thanks for your fork, using it since a few months ago. |
Wating for this feature to download all humble bundle monthly things before canceling my subscrition. Bests |
@felisucoibi I was planning to have a look at it this month, no promises, though. As far as I know, the only solution here is to scrape the web page, there is no clean API that I know of. |
@felisucoibi I didn't have time to make a proper implementation, but I cooked together a proof of concept available at https://github.com/MayeulC/hb-downloader/blob/ed36f45f056fc170f16b9a029de441d931613c3c/trove-poc.py (poc-trove branch) if that can help you. The script The only mandatory configuration you need is to write your login cookie directly in the file. Currently it doesn't filter by platform; I am unsure of your level, but I can provide some code to do this, it's trivial. It will eventually be part of the main tool, but I have no clear timeline in mind (it could be really soon or really late). Notes to self (or volunteers) regarding implementation: This needs to be exposed to the user somehow. I think I will add a That said, making it a special gamekey is probably little work, and should provide the expected functionality. This might add a dependency on lxml, however, which I need to check. The trove listing should be part of the HumbleApi functions, and conform to the data structures used there. |
Thanks a lot for your time, i can't help, my level is very low, and i
cancelled my hb monthly account. I hope you have time one day, it will be a
nice feature. Bests
2018-06-18 0:45 GMT+02:00 Mayeul Cantan <[email protected]>:
… @felisucoibi <https://github.com/felisucoibi> I didn't have time to make
a proper implementation, but I cooked together a proof of concept available
at https://github.com/MayeulC/hb-downloader/tree/poc-trove if that can
help you.
The script trove-poc.py just prints the URLs, but then you can put them
in a file and use wget -i $FILE or something like this. It can be
adjusted to download the torrent URLs instead, which may be easier to deal
with.
The only mandatory configuration you need is to write your login cookie
directly in the file. Currently it doesn't filter by platform; I am unsure
of your level, but I can provide some code to do this, it's trivial.
It will eventually be part of the main tool, but I have no clear timeline
in mind (it could be really soon or really late).
------------------------------
Notes to self (or volunteers) regarding implementation:
This needs to be exposed to the user somehow. I think I will add a --trove
command line switch to display/download items only from the trove. Maybe I
could implement it as a special gamekey so that programs reusing the API
wouldn't forget about this, but some context might then be lost. Moreover,
you don't have the same guarantees of stability with the trove games as you
have with your own keys.
That said, making it a special gamekey is probably little work, and should
provide the expected functionality. This might add a dependency on lxml,
however, which I need to check.
The trove listing should be part of the HumbleApi functions, and conform
to the data structures used there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOct6YZJEA_PgAQ-yWECwcam7HrjDX3ks5t9twggaJpZM4SW4at>
.
--
----------------------------
justdust.es
[email protected]
|
It would be nice to download games from the humble trove as well. Unfortunately, that requires an active subscription to develop, as far as I know.
The text was updated successfully, but these errors were encountered: