Skip to content

Commit

Permalink
Update _b1nd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim-sayys committed Feb 18, 2025
1 parent 91d4e60 commit 0f6438c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions shared_collector/scripts/_b1nd.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def contact_page(self) -> str:
return self.seed_url

def safe_find(self, page, selector, attr=None):
"""Safely find an element and return its text or attribute"""

try:
element = page.locator(selector).first
if element.count() > 0:
Expand Down Expand Up @@ -112,10 +112,8 @@ def parse_leak_data(self, page: Page):
m_title=title,
m_weblink=[inner_link],
m_url=inner_link,
m_addresses=[],
m_base_url=self.base_url,
m_content=m_content if m_content else "",
m_websites=[],
m_network=helper_method.get_network_type(self.base_url),
m_important_content=m_important_content,
m_content_type="leaks",
Expand Down

0 comments on commit 0f6438c

Please sign in to comment.