yashrathi-git / headspace-cli

A complete command line interface for Headspace, enabling direct access to meditation sessions from the command line.

Home Page:https://pypi.org/project/pyheadspace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downloading from other languages?

naamex opened this issue · comments

Hi! Thank you so much for this code, it's exactly what I was looking for. I'm trying to download the Spanish version of one of the sessions, but when copying the link into the code it only downloads the English version.

Also, what's the default download directory for the files? Can't seem to find it. Thanks

there is no default download location. It downloads in the directory where you execute it. Try running pwd to get where your terminal is.

oh ok! Thanks! Got it. As far as the audio language, there's no current way to select it right? It just selects the English as default?

yes currently it could only download English

commented

Really awesome project @yashrathi-git, thanks!
@naamex for selecting languages you just have to adjust the header parameter "hs-languagepreference" to the desired one (e.g. "de-DE"). The header parameter "accept-language" does not need to be changed.

Hi! I actually discovered this a few days ago, thanks! I can confirm this works, I just downloaded a Spanish session. It would be nice to have some option to change it instead of doing it manually by editing the script, but it works. Thank you @yashrathi-git so much for this code!