View Single Post
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#58
I've encountered another issue, which affects any podcast which uses the podtrac.com podcast tracker in their RSS feed: the URLs are redirected to the actual podcast URL via a 308 redirect. PodQast uses urllib.request for its podcast downloading, and urllib.request treats 308 as an HTTPError (rather than a generic 300 series status code for some reason?) As such, podQast just spams notifications of download failures if you try to download an episode of such a podcast.

I'm not sure there's an easy fix for this. The Requests library handles these URLs just fine, but it would require not insignificant changes due to the difference in how requests handles streaming content. Alternatively, it might be possible to subclass the url opener and have it turn 308s into 301s?
 

The Following 2 Users Say Thank You to taixzo For This Useful Post: