7c吧 关注:84贴子:376
  • 1回复贴,共1

给大家一行代码

只看楼主收藏回复

把代码复制到文本
文本文档,该文件命后缀,bat
package mainimport ("github.com/sundy-li/html2article")func main() { article, err := html2article.FromUrl("https://www.leiphone.com/news/201602/DsiQtR6c1jCu7iwA.html")if err != nil { panic(err) }println("article title is =>", article.Title)println,http://www.metoovape.com,("article publishtime is =>", article.Publishtime)println("article content is =>", article.Content) }
img:,。,metoovape.com,ymjs;{is.


1楼2021-08-12 16:59回复
    这是什么?


    来自Android客户端2楼2023-02-17 10:32
    回复