Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 3.64 KB

web.zh.md

File metadata and controls

43 lines (34 loc) · 3.64 KB

网页编程

刮擦网页

食谱 箱子 类别
从网页 HTML 中,提取所有链接 [![reqwest-badge]][reqwest] [![select-badge]][select] [![cat-net-badge]][cat-net]
检查网页,是否有断开的链接 [![reqwest-badge]][reqwest] [![select-badge]][select] [![url-badge]][url] [![cat-net-badge]][cat-net]
从 Mediawiki markup 中,提取所有独一链接 [![reqwest-badge]][reqwest] [![regex-badge]][regex] [![cat-net-badge]][cat-net]

统一资源位置(URL)

食谱 箱子 类别
将字符串的一个 URL,解析为Url类型 [![url-badge]][url] [![cat-net-badge]][cat-net]
通过移除路径段,创建一个 base URL [![url-badge]][url] [![cat-net-badge]][cat-net]
从 base URL ,创建新的 URL [![url-badge]][url] [![cat-net-badge]][cat-net]
提取 URL 源(方案名/主机/端口) [![url-badge]][url] [![cat-net-badge]][cat-net]
从 URL 中,删除片段标识符和查询对 [![url-badge]][url] [![cat-net-badge]][cat-net]

媒体类型(MIME)

食谱 箱子 类别
从字符串,获取 MIME 类型 [![mime-badge]][mime] [![cat-encoding-badge]][cat-encoding]
从文件名,获取 MIME 类型 [![mime-badge]][mime] [![cat-encoding-badge]][cat-encoding]
解析 HTTP 响应的 MIME 类型 [![mime-badge]][mime] [![reqwest-badge]][reqwest] [![cat-net-badge]][cat-net] [![cat-encoding-badge]][cat-encoding]

{{#include web/clients.zh.md}}

{{#include links.zh.md}}