jo1gi / audiobook-dl

Audiobook CLI downloader
GNU General Public License v3.0
248 stars 43 forks source link

Fix Podimo authentication + added proper user-agent for GraphQL requests #86

Closed Walter-o closed 9 months ago

Walter-o commented 9 months ago

Hey!

I wanted to download some stuff from Podimo for my sister, But authentication is broken by some small changes in API on Podimo's side.

So i decided to fix it and it worked out, and now i want to commit the changes back so other people can get it working again too.

For login.graphql i stayed faithful to what the webbrowser does and added newlines and verified it's the same. I know this is different from the other graphql files, i would have changed all other graphql files if i was more confident.

This is my first real pull request.

jo1gi commented 9 months ago

Looks great. Thanks for the help.