Skip to content

Commit

Permalink
using another method for finding emails
Browse files Browse the repository at this point in the history
  • Loading branch information
saeeddhqan committed May 22, 2022
1 parent e231200 commit 140b92b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maryam/core/util/helpers/web_scrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import re
import concurrent.futures

# Web Scrap v5.1
# Web Scraper v5.2

class main:

Expand All @@ -27,7 +27,7 @@ def __init__(self, url, debug=False, limit=1, thread_count=1):
url : First page address
debug : Show the result at moment
limit : Web scrap level(if it's 1 that's mean just search in first page)
limit : Web scraper level(if it's 1 that means just search in first page)
thread_count : Number of links for each lap
"""
self.framework = main.framework
Expand Down Expand Up @@ -320,7 +320,7 @@ def comments(self):

@property
def emails(self):
return self._EMAILS
return self._EMAILS + self.framework.page_parse(self._PAGES.lower()).get_emails(self.parser.netroot.lower())

@property
def networks(self):
Expand Down

0 comments on commit 140b92b

Please sign in to comment.