From dbcc5d8a972f4f169e9e2c0636450555a06152b9 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 24 Aug 2018 21:51:50 -0700 Subject: Use canonical imports --- reader/scraper/rules.go | 2 +- reader/scraper/scraper.go | 11 ++++++----- reader/scraper/scraper_test.go | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'reader/scraper') 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" -- cgit v1.2.3