1. 首页
  2. 考试认证
  3. 其它
  4. ragabone 已弃用

ragabone 已弃用

上传者: 2024-08-23 04:54:55上传 ZIP文件 8.9KB 热度 9次
拉格波恩Ragabone已被弃用,取而代之的是。 Ragabone是一个Clojure库,用于将数据从HTML中提取到edn中。例如,以下是从Clojure subreddit中抓取故事标题和链接的方法。 ( require '[ragabone :as r]) ; get the subreddit HTML ( def clojure-reddit ( slurp " http://www.reddit.com/r/clojure " )) ; extract the titles and urls from the HTML into a seq of Clojure maps. ( r/extract-from ( r/parse clojure-reddit) " .sitetable .thing " [ :hea
下载地址
用户评论