|
|
README: improve note about CDNs and user-agent blocking - sfeed - RSS and Atom parser |
|
|
 |
git clone git://git.codemadness.org/sfeed (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit e96bdb644ae2f49125079e6218e2777caf633e1c |
|
|
 |
parent 44a4824eeba93a13511251a907179393f247c201 |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
Date: Fri, 9 Jun 2023 14:44:34 +0200 |
|
|
|
|
|
|
|
README: improve note about CDNs and user-agent blocking |
|
|
|
|
|
|
|
Prompted by a question from a user. Specificly mention reddit.com now blocks |
|
|
|
clients which don't set the User-Agent header. It is specificly mentioned |
|
|
|
because there is a reddit feed in the example sfeedrc. |
|
|
|
|
|
|
|
Diffstat: |
|
|
|
M README | 4 ++-- |
|
|
|
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-) |
|
|
|
--- |
|
|
 |
diff --git a/README b/README |
|
|
|
@@ -679,8 +679,8 @@ additional metadata from the previous request. |
|
|
|
CDNs blocking requests due to a missing HTTP User-Agent request header |
|
|
|
|
|
|
|
sfeed_update will not send the "User-Agent" header by default for privacy |
|
|
|
-reasons. Some CDNs like Cloudflare don't like this and will block such HTTP |
|
|
|
-requests. |
|
|
|
+reasons. Some CDNs like Cloudflare or websites like Reddit.com don't like this |
|
|
|
+and will block such HTTP requests. |
|
|
|
|
|
|
|
A custom User-Agent can be set by using the curl -H option, like so: |
|
|
|
|
|