A tool for parsing Scrapy log files periodically and incrementally, extending the HTTP JSON API of Scrapyd.
GNU General Public License v3.0
89
stars
22
forks
source link
Fixing json parsing issue referenced here: https://github.com/my8100/logparser/issues/2 #3
Closed
rodricios closed 5 years ago
Thanks for your pull request, but I prefer to fix the problem with a single line as single quotes has been handled by
text = re.sub(r"'(.+?)'", r'"\1"', text)
https://github.com/my8100/logparser/blob/b79a283ee7135527221e02dba5a90bb2982bee8b/logparser/common.py#L130