Skip to content
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

Some singles cannot be downloaded in all durations #19

Open
chidniu opened this issue Aug 15, 2022 · 0 comments
Open

Some singles cannot be downloaded in all durations #19

chidniu opened this issue Aug 15, 2022 · 0 comments

Comments

@chidniu
Copy link

chidniu commented Aug 15, 2022

First of all, thank you very much for this great tool.

I would like to report the following bug:
There are quite a few single meditation which cannot be downloaded in all durations. For example the "End of Day" Meditation

$ headspace -v pack -d 10 https://my.headspace.com/modes/meditate/content/67

Verbose mode enabled
INFO:pyHeadspace:Getting entity ID
INFO:pyHeadspace:Sending GET request to https://api.prod.headspace.com/content-aggregation/v2/content/view-models/content-info/skeleton
INFO:pyHeadspace:Sending GET request to https://api.prod.headspace.com/content/activity-groups/83
INFO:pyHeadspace:Downloading pack, name: Alone Time
Pack metadata: 
Name:  Alone Time
Description:  Most people lead busy lives. Carving out some alone time—to unwind at the end of a long day, 
to cope during school holidays, or to recover from a hectic week—can create a clearer, calmer mind that 
benefits not only you but those around you.
INFO:pyHeadspace:Sending GET request to https://api.prod.headspace.com/content/activities/1026
Cannot download Alone Time. This could be because this session might not be available in 10 min duration.
This session is available with duration of 5/3/5 minutes. Use --duration option to modify required 
duration.
(Ctrl+C to terminate)
WARNING:pyHeadspace:Cannot download Alone Time. This could be because this session might not be available in 10 min duration.

It seems that the 10 minute option is recognized as 5 minutes which throws the script off.

Some others I have noticed:

  • Alone Time
  • Frustrated
  • For the Weekend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant