rust-syndication / rss

Library for serializing the RSS web content syndication format
https://crates.io/crates/rss
Apache License 2.0
419 stars 52 forks source link

valid RSS feed can not be parsed #117

Closed ayrat555 closed 3 years ago

ayrat555 commented 3 years ago

https://propakistani.pk/feed

If I pass raw bytes fetched from the URL above, the rss library fails with InvalidStartTag. But just copying the contents of the feed to a file and parsing it works.

I think the issue is related to encoding. Maybe it set wrong and rss can not parse it?

<?xml version="1.0" encoding="UTF-8"?
ayrat555 commented 3 years ago

it seems it's a Cloudflare protection issue