Open jmporcelg opened 2 years ago
I exported the cookies from FF, converted them using curl (as in the docs), and I get the same message.
I ran into this also. The quotes in the cookie value are part of the value, so wrap it single quotes
hbd -s '"askdjasldj...asdljk"' -l library --progress
I ran into this also. The quotes in the cookie value are part of the value, so wrap it single quotes
hbd -s '"askdjasldj...asdljk"' -l library --progress
I can confirm that works, thank you. This should be addressed in the code and/or documentation fixed.
I met the same Unable to download user-data, cookies missing?
error and had the same thought to escape the quotes as above. Unfortunately, escaping didn't work for me using Python 3.10 on Windows via Powershell -- I still got the same error:
hbd -s '"coo...kie"' -l .\HumbleLibrary\ --progress
hbd -s "`"coo...kie"`" -l .\HumbleLibrary\ --progress
In the end I worked around it using an Ubuntu WSL installation that I had handy.
I'm not sure if someone more experienced with Powershell and Python on Windows would know why it didn't work for me?
Wrapping the quote in single quotes worked for me
"""KEY""" worked for me by the way
I had a similar issue, and it appears that the cookie value was old, and would no longer work.
In my case, I copied the data from another browser on a different computer, which had two _simpleauth_sess cookie values:
I chose the most recent value, pasted it into the command on another machine, and everything started magically working.
@Toylerrr Suggested double escaping and it worked for me. I'm on windows with Python 3.10.2
hbd -s """cookie_value""" -l ...
@XanderXAJ Might want to try it as well
@Aviv-Galmidi Sadly, that doesn't work for me in Powershell 5.1 and 7.2.1. But...
However, it does work in Command Prompt! That an easier and more accessible workaround than using WSL like I did before. 😄
I tried all of the above on a Cygwin installation and it didn't work until I cleared ALL the humble bundle cookies and got a new session key from a fresh login. (I used the single quotes around the key)
I encountered this issue as the cookie value I passed was false: the copy of the value of the cookie in my browser only took a part of the value.
Using Python 3.10 (virtualenv), installed hbd through pip.
hbd -s $cookie -l library --progress
Got error:
Exception: Unable to download user-data, cookies missing?
Am I doing something wrong or this is just not working currently?
Please note I did a quick search (while logged into my Humble Bundle account, into Library) and I could not find the tag hbd is trying to find in the code.