python_github_calendar_api icon indicating copy to clipboard operation
python_github_calendar_api copied to clipboard

Github 页面改版,更新 `regex` 规则

Open zkeq opened this issue 2 years ago • 7 comments

原版: 49a77f9684aa1bbc2271c23e2ee94e83 改版后: da44dba543bbe9aca7104e850671e0d9

更新了正则使其可以继续运行

    datacountreg = re.compile(r'<span class="sr-only">(.*?) contribution')

No 替换成 0

    datacount = list(map(int, [0 if i == "No" else i for i in datacount]))

2023.7.16 再次跟进正则

zkeq avatar Jan 06 '23 02:01 zkeq

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
python-github-calendar-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2023 2:11pm

vercel[bot] avatar Jan 06 '23 02:01 vercel[bot]

🤔 怎么还是炸 我看看

zkeq avatar Jan 06 '23 02:01 zkeq

https://python-github-calendar-api-weld.vercel.app/api?zkeq

我这个地址是没问题的 🤔 预览地址怎么还是500

zkeq avatar Jan 06 '23 02:01 zkeq

我又部署了一遍 似乎没问题

image

zkeq avatar Jan 06 '23 02:01 zkeq

亲测有效,已拉取代码@zkeq

flow2000 avatar Jan 06 '23 14:01 flow2000

已亲测,替换完两行python代码后,服务立即正常生效!

Barry-Flynn avatar Jan 12 '23 06:01 Barry-Flynn

已亲测,替换完两行python代码后,服务立即正常生效! image 兄弟,数据返回的月份都错乱了,有空方便修复一下吗

baiwumm avatar Oct 13 '23 02:10 baiwumm