News for hackers. Stuff that matters.
Re:Pocket Casts Mobile Apps Are Now Open Source by DanEEStar on Thursday October 20, 2022 @04:02AM (#33271965)
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

Re:Pocket Casts Mobile Apps Are Now Open Source by danhor on Thursday October 20, 2022 @05:48AM (#33272528)
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).
Re:Pocket Casts Mobile Apps Are Now Open Source by tailspin2019 on Thursday October 20, 2022 @07:43AM (#33273193)
Thanks, I think you've just caused me to lose a weekend sometime in the very near future...
Re:Pocket Casts Mobile Apps Are Now Open Source by JulianWasTaken on Thursday October 20, 2022 @12:38PM (#33277209)
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).
Re:Pocket Casts Mobile Apps Are Now Open Source by skinnymuch on Sunday October 23, 2022 @09:45AM (#33306968)
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.