Closed francisco-baptista closed 5 years ago
Just pulled the code and I get this:
$ python main.py www.cafonline.com --output sitemap.xml --verbose Traceback (most recent call last): File "main.py", line 8, in import crawler File "/home/francisco/python-sitemap/crawler.py", line 105 print(config.xml_header, file=self.output_file) ^ SyntaxError: invalid syntax
What is your python version ?
Just pulled the code and I get this:
$ python main.py www.cafonline.com --output sitemap.xml --verbose
import crawler
File "/home/francisco/python-sitemap/crawler.py", line 105
print(config.xml_header, file=self.output_file)
^
SyntaxError: invalid syntax
Traceback (most recent call last): File "main.py", line 8, in