Compare commits
No commits in common. "6bb652304840617538d4f2619a852f5f742659ff" and "08a66a905f44d33321c065b7be0ca110a2bdc361" have entirely different histories.
6bb6523048
...
08a66a905f
10
README.md
10
README.md
|
@ -1,9 +1,9 @@
|
|||
# guessit-go
|
||||
|
||||
``` go
|
||||
guessit, err := New(GuessitConfig{
|
||||
Pip: true,
|
||||
})
|
||||
```
|
||||
python3 -m pip install -U nuitka
|
||||
|
||||
match := guessit.Guessit("Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi")
|
||||
git clone https://github.com/guessit-io/guessit.git
|
||||
|
||||
nuitka3 --output-filename=guessit /path/to/guessit
|
||||
```
|
|
@ -44,7 +44,7 @@ type Match struct {
|
|||
}
|
||||
|
||||
func (g GuessitConfig) PipInstall() (err error) {
|
||||
args := []string{"-m", "pip", "install", "guessit"}
|
||||
args := []string{"-m", "pip", "install", "guessit3"}
|
||||
cmd := exec.Command(g.Python, args...)
|
||||
cmdout, err := cmd.Output()
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@ import (
|
|||
)
|
||||
|
||||
func TestGuessit(t *testing.T) {
|
||||
guessit, err := New(GuessitConfig{
|
||||
g, err := New(GuessitConfig{
|
||||
Git: false,
|
||||
Pip: true,
|
||||
})
|
||||
|
||||
|
@ -26,6 +27,6 @@ func TestGuessit(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, s := range ss {
|
||||
fmt.Println(guessit.Guessit(s)) //, "--excludes=season"))
|
||||
fmt.Println(g.Guessit(s, "--excludes=season"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue