šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

domain_parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domain_parser

0.1.0
Rubygems
Version published
Maintainers
1
Created
Source

DomainParser

This gem is used to parse domain of url and uses a lru hash as cache to speed the parse. Its code comes from scrappy.

Installation

Add this line to your application's Gemfile:

gem 'domain_parser'

And then execute:

$ bundle

Or install it yourself as:

$ gem install domain_parser

Usage

parser = DomainParser.new
parser.domain('http://pdx.eater.com/venue/paiche')

FAQs

Package last updated on 24 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts