@Tsukk一段简单的利用 subconvert 处理论坛福利订阅链接的代码 中发帖

没有特色,只有偷懒。 
第三方库用了 requests,lxml, ruamel.yaml, pyyaml。
本来想着得到一个处理相对较好的 clash 配置文件,后来发现能不能直接用福利贴的地址,得到,发现自己不能。借用了gemini。
# 基于
# https://github.com/tindy2013/subconverter
# https://github.com/ChellyL/sub-conver-python
# 参考
# https://github.com/Aethersailor/Custom_OpenClash_Rules
# https://blog.xianyu.one/2024/04/09/sub-server-re/

import argparse
import json
import re
from dataclasses import datac...