medium-paywall-bypass

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Medium Paywall Bypass

绕过Medium付费墙

Overview

概述

Fetch paywalled Medium articles using free mirror services. Try services in order until one works.
使用免费镜像服务获取受付费墙限制的Medium文章。按顺序尝试各个服务,直到找到可用的为止。

Service Priority

服务优先级

ServiceURL PatternWebFetchcurlNotes
Freedium
https://freedium.cfd/{encoded_url}
YesYesBest option, returns content directly
Archive.today
https://archive.today/latest/{raw_url}
NoMaybeOften requires captcha
RemovePaywalls
https://removepaywalls.com/{raw_url}
NoNoRedirect page only, needs browser
ReadMedium
https://readmedium.com/en/{encoded_url}
NoNoReturns 403 programmatically
  • {encoded_url}
    = URL-encoded (slashes become %2F, @ becomes %40, etc.)
  • {raw_url}
    = Original URL as-is
For Claude Code: Use Freedium via WebFetch. Other services require browser interaction.
服务URL格式WebFetch支持curl支持说明
Freedium
https://freedium.cfd/{encoded_url}
最佳选择,直接返回内容
Archive.today
https://archive.today/latest/{raw_url}
可能通常需要验证码
RemovePaywalls
https://removepaywalls.com/{raw_url}
仅提供重定向页面,需要浏览器
ReadMedium
https://readmedium.com/en/{encoded_url}
程序化请求会返回403错误
  • {encoded_url}
    = URL编码(斜杠变为%2F,@变为%40等)
  • {raw_url}
    = 原始URL保持不变
**对于Claude Code:通过WebFetch使用Freedium。**其他服务需要浏览器交互。

Workflow

工作流程

1. User provides Medium URL
2. Try Freedium first via WebFetch
3. If blocked/empty, try next service
4. Extract and present article content
1. 用户提供Medium URL
2. 首先通过WebFetch尝试Freedium
3. 如果被阻止/返回空内容,尝试下一个服务
4. 提取并展示文章内容

Example Usage

使用示例

Given:
https://medium.com/@user/some-article-abc123
WebFetch (recommended):
URL: https://freedium.cfd/https%3A%2F%2Fmedium.com%2F%40user%2Fsome-article-abc123
Prompt: Extract the full article content
curl fallback:
bash
curl -sL "https://freedium.cfd/https%3A%2F%2Fmedium.com%2F%40user%2Fsome-article-abc123"
给定:
https://medium.com/@user/some-article-abc123
WebFetch(推荐):
URL: https://freedium.cfd/https%3A%2F%2Fmedium.com%2F%40user%2Fsome-article-abc123
提示:提取完整文章内容
curl备选方案:
bash
curl -sL "https://freedium.cfd/https%3A%2F%2Fmedium.com%2F%40user%2Fsome-article-abc123"

Medium-Hosted Domains

Medium托管的域名

These domains use Medium's paywall system:
  • medium.com
    ,
    *.medium.com
  • towardsdatascience.com
  • betterprogramming.pub
  • levelup.gitconnected.com
  • javascript.plainenglish.io
  • uxdesign.cc
  • hackernoon.com
  • codeburst.io
  • itnext.io
  • proandroiddev.com
  • infosecwriteups.com
这些域名使用Medium的付费墙系统:
  • medium.com
    ,
    *.medium.com
  • towardsdatascience.com
  • betterprogramming.pub
  • levelup.gitconnected.com
  • javascript.plainenglish.io
  • uxdesign.cc
  • hackernoon.com
  • codeburst.io
  • itnext.io
  • proandroiddev.com
  • infosecwriteups.com

Common Issues

常见问题

ProblemSolution
Freedium downTry alternative mirror:
freedium-mirror.cfd
Article not foundArticle may be too new to be cached
Garbled HTMLUse WebFetch with prompt: "Extract the article text and format as markdown"
403/blockedTry curl with
dangerouslyDisableSandbox: true
问题解决方案
Freedium无法访问尝试备用镜像:
freedium-mirror.cfd
文章未找到文章可能太新,尚未被缓存
HTML内容混乱使用WebFetch并附带提示:"提取文章文本并格式化为markdown"
返回403/被阻止尝试添加
dangerouslyDisableSandbox: true
参数的curl请求

Quick Reference

快速参考

python
undefined
python
undefined

URL encoding in Python

Python中的URL编码

from urllib.parse import quote encoded = quote(url, safe='')
from urllib.parse import quote encoded = quote(url, safe='')

For WebFetch tool

用于WebFetch工具

freedium_url = f"https://freedium.cfd/{quote(medium_url, safe='')}"
undefined
freedium_url = f"https://freedium.cfd/{quote(medium_url, safe='')}"
undefined