(self)
| 25 | # A really good url clean by theHarvester at : |
| 26 | # https://raw.githubusercontent.com/killswitch-GUI/theHarvester/master/myparser.py |
| 27 | def genericClean(self): |
| 28 | self.InputData = re.sub('<em>', '', self.InputData) |
| 29 | self.InputData = re.sub('<b>', '', self.InputData) |
| 30 | self.InputData = re.sub('</b>', '', self.InputData) |
| 31 | self.InputData = re.sub('</em>', '', self.InputData) |
| 32 | self.InputData = re.sub('%2f', ' ', self.InputData) |
| 33 | self.InputData = re.sub('%3a', ' ', self.InputData) |
| 34 | self.InputData = re.sub('<strong>', '', self.InputData) |
| 35 | self.InputData = re.sub('</strong>', '', self.InputData) |
| 36 | self.InputData = re.sub('<tr>', ' ', self.InputData) |
| 37 | self.InputData = re.sub('</tr>', ' ', self.InputData) |
| 38 | self.InputData = re.sub('</a>', ' ', self.InputData) |
| 39 | |
| 40 | for e in (',', '>', ':', '=', '<', '/', '\\', ';', '&', '%3A', '%3D', '%3C', '"', '"'): |
| 41 | self.InputData = string.replace(self.InputData, e, ' ') |
| 42 | |
| 43 | # A really good url clean by theHarvester at : |
| 44 | # https://raw.githubusercontent.com/killswitch-GUI/theHarvester/master/myparser.py |
no outgoing calls
no test coverage detected