NewFuture / DDNS

:triangular_flag_on_post: 自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...)
https://ddns.newfuture.cc/
MIT License
4.35k stars 664 forks source link

ERROR:root:'utf-8' codec can't decode byte 0xb1 in position 72: invalid start byte #156

Closed PHCSJC closed 4 years ago

PHCSJC commented 4 years ago

版本:2.9 安装方法:pip3 install ddns 系统:debian10

执行下列命令时报这个错误: ddns -c /etc/ddns.dp.conf ERROR:root:'utf-8' codec can't decode byte 0xb1 in position 72: invalid start byte

配置文件:

{
  "$schema": "https://ddns.newfuture.cc/schema/v2.json", 
  "dns": "dnspod", 
  "id": "********", 
  "token": "********",
  "index4": "public", 
  "index6": "default", 
  "ipv4": ["********"],
  "ipv6": [],
  "ttl": 600,
  "cache": false
}
bestK commented 4 years ago

fixed #130

NewFuture commented 4 years ago

https://pv.sohu.com/cityjson?ie=utf-8

150