Closed buzai closed 5 years ago
What Python version did you use?The script should use py3
@weixianglin Python 3.5.2 (default, Nov 12 2018, 13:43:14)
I found the problem. You should try python version >= 3.6. Because the code use f-string which introduced by Python 3.6.
File "crawler_main.py", line 45 lg.info(f'[post] update existing post: {post.post_id}') ^ SyntaxError: invalid syntax