Skip to content

Commit

Permalink
fix api_example issue and update lgtm.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtn1ng committed Jul 1, 2021
1 parent ff31784 commit 6d9040f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
queries:
- exclude: py/import-and-import-from
- exclude: py/polluting-import
- exclude: py/member-test-non-container

extraction:
python:
Expand Down
3 changes: 1 addition & 2 deletions theHarvester/lib/api/api_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def main():
print(f'\n[*] LinkedIn Links found: {len(linkedin_links_tracker)}')
linkedin_links_tracker = list(sorted(set(linkedin_links_tracker)))
print('---------------------')
for link in linkedin_people_list_tracker:
for link in linkedin_links_tracker:
print(link)

length_urls = len(trello_urls)
Expand All @@ -94,7 +94,6 @@ async def main():
# use netaddr as the list may contain ipv4 and ipv6 addresses
ip_list = sorted([netaddr.IPAddress(ip.strip()) for ip in set(ips)])
print('\n'.join(map(str, ip_list)))
ip_list = list(ip_list)

if len(emails) == 0:
print('\n[*] No emails found.')
Expand Down

0 comments on commit 6d9040f

Please sign in to comment.