Project

linkser

0.02
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.7.0

Runtime

>= 1.4.0
>= 0
~> 2.13.1
 Project Readme

Linkser

Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.

Installation

Add to your Gemfile gem 'linkser' and bundle update

Using Linkser

l = Linkser.parse 'https://github.com/ging/linkser'
l.title #=> "linkser"
l.description #=> "linkser - Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource."

y = Linkser.parse 'http://youtube.com/someyoutubevideo'
y.title #=> the title of the video
y.images #=> the thumbnails of the video
y.resource.url #=> the url of the video