Python Tomd 模块

#!/bin/bash
# -*- coding: UTF-8 -*-

import requests
import tomd
import sys

url = "https://secsb.com"
r = requests.get(url)
html = r.content
print tomd.Tomd(html).markdown


把html改为Markdown
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注