aboutsummaryrefslogtreecommitdiff
path: root/docs/10_Bridge_Specific/Substack.md
diff options
context:
space:
mode:
authorGravatar Pavel Korytov <thexcloud@gmail.com> 2024-07-31 22:57:20 +0300
committerGravatar GitHub <noreply@github.com> 2024-07-31 21:57:20 +0200
commitb505667168225a74c30e7b58ab6a54bc00c3b89e (patch)
treebe42a07e70159ca090056170ccfd4692e3f63c71 /docs/10_Bridge_Specific/Substack.md
parent615c5335878be434a9051278126f7286e1549e14 (diff)
downloadrss-bridge-b505667168225a74c30e7b58ab6a54bc00c3b89e.tar.gz
rss-bridge-b505667168225a74c30e7b58ab6a54bc00c3b89e.tar.zst
rss-bridge-b505667168225a74c30e7b58ab6a54bc00c3b89e.zip
[SubstackBridge] Add Substack bridge (#4174)
* [SubstackBridge] Add Substack * [SubstackBridge] Add docs * [SubstackBridge] Fix lint * [SubstackBridge] Update description * [SubstackBridge] Update description (x2)
Diffstat (limited to 'docs/10_Bridge_Specific/Substack.md')
-rw-r--r--docs/10_Bridge_Specific/Substack.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/10_Bridge_Specific/Substack.md b/docs/10_Bridge_Specific/Substack.md
new file mode 100644
index 00000000..7595bbef
--- /dev/null
+++ b/docs/10_Bridge_Specific/Substack.md
@@ -0,0 +1,18 @@
+# SubstackBridge
+
+[Substack](https://substack.com) provides RSS feeds at `/feed` path, e.g., https://newsletter.pragmaticengineer.com/feed/. However, these feeds have two problems, addressed by this bridge:
+- They use RSS 2.0 with the draft [content extension](https://web.resource.org/rss/1.0/modules/content/), which isn't supported by some readers;
+- They don't have the full content for paywalled posts.
+
+Retrieving the full content is only possible _with an active subscription to the blog_. If you have one, Substack will return the full feed if it's fetched with the right set of cookies. Figuring out whether it's the intended behaviour is left as an exercise for the reader.
+
+To obtain the session cookie, authorize at https://substack.com/, open DevTools, go to Application -> Cookies -> https://substack.com, copy the value of `substack.sid` and paste it to the RSS bridge config:
+
+```
+[SubstackBridge]
+sid = "<your-sid>"
+```
+
+Authorization sometimes requires CAPTCHA, hence this operation is manual. The cookie lives for three months.
+
+After you've done this, the bridge should return full feeds for your subscriptions.