diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2024-02-21 21:51:12 +0100 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2024-02-21 21:51:12 +0100 |
| commit | ba009a9949a007a03e2e966e285f463a5ff4b758 (patch) | |
| tree | 69b3d0df3fa83814cdbc2043a0e40aabee7abfe6 /flyscrape.go | |
| parent | e2e0ed8fa7d26a23f77b378907b3f902be9e028e (diff) | |
Remove the setup function while we can
Diffstat (limited to 'flyscrape.go')
| -rw-r--r-- | flyscrape.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/flyscrape.go b/flyscrape.go index 057eb08..ce7c51f 100644 --- a/flyscrape.go +++ b/flyscrape.go @@ -49,7 +49,6 @@ func Run(file string, overrides map[string]any) error { scraper := NewScraper() scraper.ScrapeFunc = exports.Scrape - scraper.SetupFunc = exports.Setup scraper.Script = file scraper.Client = client scraper.Modules = LoadModules(cfg) @@ -96,7 +95,6 @@ func Dev(file string, overrides map[string]any) error { scraper := NewScraper() scraper.ScrapeFunc = exports.Scrape - scraper.SetupFunc = exports.Setup scraper.Script = file scraper.Client = client scraper.Modules = LoadModules(cfg) |