link-preview:链接预览功能

时间:2024-07-26 19:52:24
【文件属性】:

文件名称:link-preview:链接预览功能

文件大小:9KB

文件格式:ZIP

更新时间:2024-07-26 19:52:24

Ruby

链接预览 链接预览功能查找打开的图形或正常的元标记。 安装 将此行添加到应用程序的 Gemfile 中: gem 'link-preview' 然后执行: $ bundle 或者自己安装: $ gem install link-preview 用法 page = LinkPreview :: Page . new ( 'http://globoesporte.globo.com/futebol/times/corinthians/noticia/2013/06/sheik-cobra-responsabilidade-dos-companheiros-durante-folga.html' ) page . parse! # Return the title of the page # page . title # Return the de


【文件预览】:
link-preview-master
----.gitignore(154B)
----LICENSE.txt(1KB)
----spec()
--------spec_helper.rb(23B)
--------link_preview()
----README.md(1KB)
----lib()
--------link-preview.rb(22B)
--------link_preview()
--------link_preview.rb(568B)
----Gemfile(97B)
----Rakefile(28B)
----link_preview.gemspec(1KB)

网友评论