Giter Club home page Giter Club logo

Comments (11)

amoskvin avatar amoskvin commented on May 30, 2024 16

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

from humblebundle-downloader.

jmporcelg avatar jmporcelg commented on May 30, 2024 8

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.

from humblebundle-downloader.

Toylerrr avatar Toylerrr commented on May 30, 2024 3

"""KEY""" worked for me by the way

from humblebundle-downloader.

Aviv-Galmidi avatar Aviv-Galmidi commented on May 30, 2024 3

@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

from humblebundle-downloader.

XanderXAJ avatar XanderXAJ commented on May 30, 2024 2

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?

from humblebundle-downloader.

wildcardjoker avatar wildcardjoker commented on May 30, 2024 1

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:
image

I chose the most recent value, pasted it into the command on another machine, and everything started magically working.

from humblebundle-downloader.

jdougan avatar jdougan commented on May 30, 2024 1

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)

from humblebundle-downloader.

Romanmir avatar Romanmir commented on May 30, 2024

I exported the cookies from FF, converted them using curl (as in the docs), and I get the same message.

from humblebundle-downloader.

dylanmtaylor avatar dylanmtaylor commented on May 30, 2024

Wrapping the quote in single quotes worked for me

from humblebundle-downloader.

XanderXAJ avatar XanderXAJ commented on May 30, 2024

@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. 😄

from humblebundle-downloader.

GaetanLhoest avatar GaetanLhoest commented on May 30, 2024

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.

from humblebundle-downloader.

Related Issues (20)

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.