MrChuckomo / poddycast

Podcast app made with Electron, lots of ❤️ and ☕️
GNU General Public License v3.0
183 stars 29 forks source link

A valid Podcast-feed throws an error #152

Closed MrChuckomo closed 3 months ago

MrChuckomo commented 3 months ago

Describe the bug A well maintained Podcast with a valid FeedUrl throws an error on loading time or when visiting the Podcasts detail page. The Podcast gets highlighted with the connection error icon.

To Reproduce Steps to reproduce the behavior:

  1. Go to second menu item "Favorites"
  2. Click on the Podcast
  3. See error

Expected behavior Well maintained Podcast should load the episode list properly.

MrChuckomo commented 3 months ago

Looks like that some Podcasts don't like if the User-Agent option is set inside the request header.

Axios is setting the User-Agent by default to something like axios/1.6.0. Some servers seem to reject such request to prevent automated bots or scrapers. The server might return a 403 error.