Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pocketcasts has an API with a history endpoint, which I scrape regularly: https://api.pocketcasts.com/user/history

With the help of the web-player and the developer console I could copy the necessary auth-headers.

I built a little deno project recently which scrapes my Spotify and PocketCasts history regularly and stores the history to a Supabase PostgreSQL database.

So I have access to my own listening history: https://github.com/DanEEStar/listening-history-deno



This is great. I skimmed the code. I’ll have to check Spotify API to see if it’s possible to grab just podcasts from Spotify. Then I can try to see if I can do this stuff with another app. In general, happy to see this project for the ideas.


Thanks, I think you've just caused me to lose a weekend sometime in the very near future...


Very nice! Will check out your repo, but this requires Pocket Casts Plus, right? (I don't have one, I purchased the Android app a long long time ago, but do not have access to the web player at all AFAIK).


Shouldn't you be able to get the data by requesting it via the GDPR (technically only EU, but most companies probably don't care).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: