Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. import pythonwhois
  2. details = pythonwhois.get_whois('google.com')
  3. print(details)
  4.  
  5. File "c:/Users/len/Desktop/w.py", line 1, in <module>
  6. import pythonwhois
  7. File "C:UserslenAppDataLocalProgramsPythonPython37-32libsite-packagespythonwhois__init__.py", line 1, in <module>
  8. from . import net, parse
  9. File "C:UserslenAppDataLocalProgramsPythonPython37-32libsite-packagespythonwhoisparse.py", line 363, in <module>
  10. registrant_regexes = [preprocess_regex(regex) for regex in registrant_regexes]
  11. File "C:UserslenAppDataLocalProgramsPythonPython37-32libsite-packagespythonwhoisparse.py", line 363, in <listcomp>
  12. registrant_regexes = [preprocess_regex(regex) for regex in registrant_regexes]
  13. File "C:UserslenAppDataLocalProgramsPythonPython37-32libsite-packagespythonwhoisparse.py", line 205, in preprocess_regex
  14. regex = re.sub(r"\s*(?P<([^>]+)>.+)", r"s*(?P<1>S.*)", regex)
  15. File "C:UserslenAppDataLocalProgramsPythonPython37-32libre.py", line 192, in sub
  16. return _compile(pattern, flags).sub(repl, string, count)
  17. File "C:UserslenAppDataLocalProgramsPythonPython37-32libre.py", line 309, in _subx
  18. template = _compile_repl(template, pattern)
  19. File "C:UserslenAppDataLocalProgramsPythonPython37-32libre.py", line 300, in _compile_repl
  20. return sre_parse.parse_template(repl, pattern)
  21. File "C:UserslenAppDataLocalProgramsPythonPython37-32libsre_parse.py", line 1024, in parse_template
  22. raise s.error('bad escape %s' % this, len(this))
  23. re.error: bad escape s at position 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement