Correctly parse RSS feeds with no URL Encoding.
I sometimes get 404 errors on some RSS feeds as the URLs are not correctly encoded. I know that we can argue that it is the responsibility of the feed provider, but when I import the same feed into other RSS feed readers, it correctly parses the audio file path.
Some simple logic possible would be if the URL contains a space, then urlencode.
Example feed: https://www.defcon.org/podcast/defcon-10-audio.rss
Unfortunately this doesn’t work because there are other mistakes in the url like for exmaple there are 2 spaces after the last ‘-’ so
https://media.defcon.org/DEF CON 10/DEF CON 10 audio/DEF CON 10 Hacking Conference Presentation By Mathew Marsh – Replacing Tripwire – Audio.m4b
is encoded into
which still doesn’t work. There’s no way the app can guess that one of those 2 spaces should be removed so the url can work