devhub / domaintools

Domain parsing with Python
44 stars 13 forks source link

When i execute ‘from domaintools import Domain’ #13

Open YadongM opened 3 years ago

YadongM commented 3 years ago

When i execute ‘from domaintools import Domain’

Traceback (most recent call last):

  File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3441, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "<ipython-input-31-158e6e186f83>", line 1, in <module>
    from domaintools import Domain

  File "/usr/local/lib/python3.8/dist-packages/domaintools/__init__.py", line 53
    __whitespace_regex = re.compile(ur'\s+')
                                      ^
SyntaxError: invalid syntax

python 3.85 jupyter notebook windows 10 / ubuntu 20 domaintools 0.38