There is some problem processing the url https://qurancentral.com/audio/mishary-rashid-alafasy/feed even though the url works for AntennaPod on Android. When I try to refresh the feed through kasts, this error pops up in the logs:
If I try to curl that URL, I get a response that includes this:
<h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>
<p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
</div>
<div class="cf-column">
<h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>
<p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
</div>
So, my suspicion is that cloudflare is interfering. I’m not sure what AntennaPod is using as a library to access the internet, but it might have additional features to e.g. accept cookies to get around this(?).
Similarly, wget also seems to get around the cloudflare thing…
As for Kasts: it’s simply using the standard qt libs for network access. I’m not sure there is functionality in the lib that would allow to work around the cloudflare thing.
Kasts does send a non-empty user agent header, but it seems that it’s not accepted. Probably everything is blocked except strings in an allow-list. I have a suspicion that the AntennaPod user agent was probably added to some allow-list after users complained.
It’s probably a good idea to complain to the website admins about this issue.