Ejemplo n.º 1
0
	def get_email_from_link(self,link,depth):
		email_link=[]
		print "Extracting emails >>>>>>"
		emails = defaultdict(int)
		for url in e.crawl_site('%s' %link, depth):
			try:
				for email in e.grab_email(e.urltext(url)):
					if not emails.has_key(email):
						if('reedmidem.com' in email):
							continue
						else:
							email_link.append(email)
			except:
				continue
		return email_link
Ejemplo n.º 2
0
 def get_email_from_link(self, link, depth):
     email_link = []
     print "Extracting emails >>>>>>"
     emails = defaultdict(int)
     for url in e.crawl_site('%s' % link, depth):
         try:
             for email in e.grab_email(e.urltext(url)):
                 if not emails.has_key(email):
                     if ('reedmidem.com' in email):
                         continue
                     else:
                         email_link.append(email)
         except:
             continue
     return email_link
Ejemplo n.º 3
0
	def get_email_from_link(self,link,depth):
		email_link=[]
		print "Extracting emails from %s" %link
		try:
			emails = defaultdict(int)
			for url in e.crawl_site('%s' %link, depth):
				for email in e.grab_email(e.urltext(url)):
					if not emails.has_key(email):
						if('reedmidem.com' in email or '.png' in email or '.jpg' in email):
								continue
						else:
							email_link.append(email)
		except:
			print "Socket connection error"
			email_link=''
			return email_link
		return email_link
Ejemplo n.º 4
0
 def get_email_from_link(self, link, depth):
     email_link = []
     print "Extracting emails from %s" % link
     try:
         emails = defaultdict(int)
         for url in e.crawl_site('%s' % link, depth):
             for email in e.grab_email(e.urltext(url)):
                 if not emails.has_key(email):
                     if ('reedmidem.com' in email or '.png' in email
                             or '.jpg' in email):
                         continue
                     else:
                         email_link.append(email)
     except:
         print "Socket connection error"
         email_link = ''
         return email_link
     return email_link