aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/scraper
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-08-24 21:51:50 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-08-24 21:56:39 -0700
commitdbcc5d8a972f4f169e9e2c0636450555a06152b9 (patch)
tree00d7ed89efc2ffdbfa4c602ba66b0c156d48cb0d /reader/scraper
parent7f2612d9a67ccb97a9cee8c330b7445f11497d01 (diff)
Use canonical imports
Diffstat (limited to 'reader/scraper')
-rw-r--r--reader/scraper/rules.go2
-rw-r--r--reader/scraper/scraper.go11
-rw-r--r--reader/scraper/scraper_test.go2
3 files changed, 8 insertions, 7 deletions
diff --git a/reader/scraper/rules.go b/reader/scraper/rules.go
index 7967869..e84b882 100644
--- a/reader/scraper/rules.go
+++ b/reader/scraper/rules.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
-package scraper
+package scraper // import "miniflux.app/reader/scraper"
// List of predefined scraper rules (alphabetically sorted)
// domain => CSS selectors
diff --git a/reader/scraper/scraper.go b/reader/scraper/scraper.go
index 17e6714..d2cccdb 100644
--- a/reader/scraper/scraper.go
+++ b/reader/scraper/scraper.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
-package scraper
+package scraper // import "miniflux.app/reader/scraper"
import (
"errors"
@@ -10,11 +10,12 @@ import (
"io"
"strings"
+ "miniflux.app/http/client"
+ "miniflux.app/logger"
+ "miniflux.app/reader/readability"
+ "miniflux.app/url"
+
"github.com/PuerkitoBio/goquery"
- "github.com/miniflux/miniflux/http/client"
- "github.com/miniflux/miniflux/logger"
- "github.com/miniflux/miniflux/reader/readability"
- "github.com/miniflux/miniflux/url"
)
// Fetch downloads a web page a returns relevant contents.
diff --git a/reader/scraper/scraper_test.go b/reader/scraper/scraper_test.go
index b493e25..e43ac11 100644
--- a/reader/scraper/scraper_test.go
+++ b/reader/scraper/scraper_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
-package scraper
+package scraper // import "miniflux.app/reader/scraper"
import "testing"