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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
urlimagediff command

Jump to

Keyboard shortcuts

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