3 ms·
Pocketcasts has an API with a history endpoint, which I scrape regularly: https://api.pocketcasts.com/user/history https://api.pocketcasts.com/user/history Wit
by DanEEStar 4y ago
Pocketcasts has an API with a history endpoint, which I scrape regularly: https://api.pocketcasts.com/user/history 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 https://github.com/DanEEStar/listening-history-deno
- danhor 4y agoShouldn't you be able to get the data by requesting it via the GDPR (technically only EU, but most companies probably don't care).
- tailspin2019 4y agoThanks, I think you've just caused me to lose a weekend sometime in the very near future...
- JulianWasTaken 4y agoVery 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).
- skinnymuch 4y agoThis 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.