Skip to content

Commit

Permalink
Pass lookups CLI arg to Unfurl
Browse files Browse the repository at this point in the history
  • Loading branch information
obsidianforensics committed Jun 14, 2021
1 parent de0cdf8 commit bf3a2a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions unfurl_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
unfurl_host = 'localhost'
unfurl_port = '5000'
unfurl_debug = 'True'
remote_lookups = False

if config.has_section('UNFURL_APP'):
unfurl_host = config['UNFURL_APP'].get('host')
Expand Down
4 changes: 2 additions & 2 deletions unfurl_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main():
csv_writer.writerow(['url', 'unfurled'])

for item in items_to_unfurl:
unfurl_instance = core.Unfurl()
unfurl_instance = core.Unfurl(remote_lookups=args.lookups)
unfurl_instance.add_to_queue(
data_type='url', key=None,
value=item)
Expand All @@ -71,7 +71,7 @@ def main():

else:
for item in items_to_unfurl:
unfurl_instance = core.Unfurl()
unfurl_instance = core.Unfurl(remote_lookups=args.lookups)
unfurl_instance.add_to_queue(
data_type='url', key=None,
value=item)
Expand Down

0 comments on commit bf3a2a5

Please sign in to comment.