GuMuXi
GuMuXi
# 问题描述 KEEP导出的GPX数据时间为UTC时间,但是却多了毫秒小数点,导致GPX导入Starva时将时区识别错误,时间混乱。 ## 数据样本 ```xml 2022-10-25T23:18:10.175000Z ``` # 修复方式 ## 测试 将小数点后的数据去掉 ```shell echo -e "2022-09-19T12:08:37.731000Z" | sed -n 's/\.[[:digit:]]\{3\}0\{3\}Z/Z/ p' ``` ## 批量修复脚本 ```shell #!/bin/bash ls *.gpx |...
fix error: scrapy shell "http://www.dmoz.org/Computers/Programming/Languages/Python/Books/" ===> scrapy shell "http://dmoztools.net/Computers/Programming/Languages/Python/Books/"
fix error 1. response.xpath('//div/[id="not-exists"]/text()').extract_first() is None ==> response.xpath('//div[@id="not-exists"]/text()').extract_first() is None 2. sel.xpath('//div/[id="not-exists"]/text()').extract_first(default='not-found') ==> response.xpath('//div[@id="not-exists"]/text()').extract_first(default='not-found')
Add Docker build and deployment methods.