mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 21:19:19 +00:00
fix import
This commit is contained in:
parent
9a5af089eb
commit
c5abf8f9d0
@ -8,7 +8,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nkanaev/yarr/src/reader"
|
"github.com/nkanaev/yarr/src/content/readability"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -33,7 +33,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
content, err := reader.ExtractContent(r)
|
content, err := readability.ExtractContent(r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("failed to extract content: %s", err)
|
log.Fatalf("failed to extract content: %s", err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user