c4software / python-sitemap

Mini website crawler to make sitemap from a website.
GNU General Public License v3.0
362 stars 110 forks source link

Windows and/or Python 3.7.2? #82

Closed VVilku closed 2 years ago

VVilku commented 2 years ago

Hello I have a problem with python-sitemap on Windows and Python 3.7.2. I haven't looked into the problem yet, but whatever I do (even 'empty'/solo 'python main.py') I get:

Traceback (most recent call last):
  File "C:\! git !\python-sitemap\main.py", line 8, in <module>
    import crawler
  File "C:\! git !\python-sitemap\crawler.py", line 240
    image_link = f"{self.domain.strip("/")}{image_link.replace("./", "/")}"
                                                                 ^
SyntaxError: invalid syntax
c4software commented 2 years ago

Hi,

There was a bug in the last commit. It is now fixed.

VVilku commented 2 years ago

Thank you :) I was going to take a look at it, but I had a family trip :)