urlimagediff

package module
v0.0.0-...-65e51e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 6 Imported by: 0

README

go-url-image-diff

二つのURLのスクリーンショットを撮って比較し、差異がある場合は表示する

Demo

urlimagediff -o output.png https://github.com/loadoff/go-url-image-diff/blob/develop/README.md https://github.com/loadoff/go-url-image-diff/blob/master/README.md

output

Installation

Macの場合

  1. SeleniumとChromedriverを入れる
brew install phantomjs
brew install chromedriver
brew install selenium-server-standalone
  1. バイナリを取得
go get -u github.com/loadoff/go-url-image-diff/...

Usage

urlimagediff -o output.png http://sample1.com http://sample2.com

Author

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(url1, url2 string) (image.Image, bool, error)

Diff 二つのURLの画面イメージが同じかどうかを確認する

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL