theHarvester/tests/discovery/test_linkedin_links.py

20 lines
426 B
Python
Raw Normal View History

#!/usr/bin/env python3
# coding=utf-8
from theHarvester.discovery import linkedinsearch
from theHarvester.lib import stash
2019-09-07 11:00:22 +08:00
import pytest
class TestGetLinks(object):
2019-09-07 11:16:56 +08:00
def test_get_links(self):
search = linkedinsearch.SearchLinkedin("facebook.com", '100')
search.process()
links = search.get_links()
for link in links:
print(link)
if __name__ == '__main__':
pytest.main()