institued fix from discussion; closes #68 (#70)

This commit is contained in:
epi052
2020-06-13 15:47:09 -05:00
committed by GitHub
parent fce38c22de
commit 7e261a16e4
2 changed files with 2 additions and 1 deletions

View File

@@ -123,7 +123,7 @@ class TKOSubsScan(luigi.Task):
command = [
tools.get("tko-subs").get("path"),
f"-domain={','.join(domains)}",
f"-data={tools.get('tko-subs').get('git_dir')}/providers-data.csv",
f"-data={tools.get('tko-subs').get('providers')}",
f"-output={self.output_file}",
]

View File

@@ -3,6 +3,7 @@ dependencies: [go]
go: &gotool !get_tool_path "{go[path]}"
path: !join_path [!get_default "{gopath}", bin/tko-subs]
environ: {"GOPATH": !get_default "{gopath}"}
providers: !join_path [!get_default "{gopath}", src/github.com/anshumanbh/tko-subs/providers-data.csv]
commands:
- !join [*gotool, get, github.com/anshumanbh/tko-subs]