You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some RSS feed providers refuse connections according to user-agent strings (one, two)
It sure would be real nice to be able to pass in a custom user-agent string so that I'm able to use feedparser-clj to consume feeds that I'm already able to consume from the browser or curl.
The text was updated successfully, but these errors were encountered:
Something like the following would do the trick, but any change to the arity of parse-feed would be a breaking change that I'd rather leave to someone else:
First, add (java.net HttpURLConnection) to (:require).
Then, modify parse-feed so that it handles the following arity (which conflicts with the existing content-type arity):
Some RSS feed providers refuse connections according to user-agent strings (one, two)
It sure would be real nice to be able to pass in a custom user-agent string so that I'm able to use
feedparser-clj
to consume feeds that I'm already able to consume from the browser orcurl
.The text was updated successfully, but these errors were encountered: