/web_stat

Ruby Gem to extract final redirect url from a given URL https://rubygems.org/gems/web_stat/versions/0.1.11

MIT LicenseMIT

This repository is out of date. Please refer to the following

-> https://github.com/slidict/web_stat

WebStat

Fetch the web pages and stat.

Install mecab

$ sudo apt install mecab-ipadic-utf8 libmecab

Installation

Add this line to your application's Gemfile:

gem 'web_stat'

And then execute:

$ bundle

Or install it yourself as:

$ gem install web_stat

Usage

you can customize web_stat config.

And then execute:

$ rake web_stat:install

spec

$ docker/start -d $ docker/exec ENV=development bundle exec rspec

Test a file

$ docker/start -d $ docker/exec ENV=development bundle exec rspec spec/web_stat/fetch_spec.rb