Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Patch for Metagoofil

By: milo2012 on Jan 8th, 2012  |  syntax: None  |  size: 0.80 KB  |  views: 215  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. *** parser.py   2012-01-08 12:00:38.000000000 -0500
  2. --- parser.py   2012-01-08 12:35:35.000000000 -0500
  3. ***************
  4. *** 43,52 ****
  5.                 self.temp = reg_urls.findall(self.results)
  6.                 allurls=self.unique()
  7.                 for x in allurls:
  8. !                       if x.count('webcache') or x.count('google.com') or x.count('search?'):
  9. !                               pass
  10. !                       else:
  11.                                 urls.append(x)
  12.                 return urls
  13.        
  14.         def people_linkedin(self):
  15. --- 43,52 ----
  16.                 self.temp = reg_urls.findall(self.results)
  17.                 allurls=self.unique()
  18.                 for x in allurls:
  19. !                       if x.endswith('doc') or x.endswith('pdf') or x.endswith('xls') or x.endswith('ppt') or x.endswith('odp') or x.endswith('ods') or x.endswith('docx') or x.endswith('xlsx') or x.endswith('pptx'):
  20.                                 urls.append(x)
  21. +                       else:
  22. +                               pass
  23.                 return urls
  24.        
  25.         def people_linkedin(self):