Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

针对23-07-15更新了正则,并按字典序排序 #15

Merged
merged 1 commit into from
Aug 8, 2023
Merged

针对23-07-15更新了正则,并按字典序排序 #15

merged 1 commit into from
Aug 8, 2023

Conversation

ShanMuYunQiu
Copy link
Contributor

23-07-15日github更新后,原先的正则错误,更新了正则,并按字典序排序

@vercel
Copy link

vercel bot commented Jul 15, 2023

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 15, 2023 2:09am

@Barry-Flynn
Copy link

23-07-15日github更新后,原先的正则错误,更新了正则,并按字典序排序

请问那两个变量为什么要按照字典排序呢?

@ShanMuYunQiu
Copy link
Contributor Author

23-07-15日github更新后,原先的正则错误,更新了正则,并按字典序排序

请问那两个变量为什么要按照字典排序呢?

您好,可以看一下github更新后的网页源代码,爬虫爬下来的顺序变成了按照星期几排列,比如先从22年,比如7月4号-11号-18号这样一直到23年的星期一排列完成,然后再从22年星期二排列,对于当前calendar呈现出来也会是这样的顺序,所以要按照datadate进行字典排序

Barry-Flynn added a commit to Barry-Flynn/python_github_calendar_api that referenced this pull request Jul 20, 2023
Zfour/python_github_calendar_api#15

ShengQiBaoZao:23-07-15日github更新后,原先的正则错误,更新了正则,并按字典序排序 

Barry-Flynn:请问那两个变量为什么要按照字典排序呢?

ShengQiBaoZao:您好,可以看一下github更新后的网页源代码,爬虫爬下来的顺序变成了按照星期几排列,比如先从22年,比如7月4号-11号-18号这样一直到23年的星期一排列完成,然后再从22年星期二排列,对于当前calendar呈现出来也会是这样的顺序,所以要按照datadate进行字典排序
@Barry-Flynn
Copy link

经测试,按如法修改后恢复正常,感谢 @ShengQiBaoZao ,期待 @Zfour 早日合并分支,效果请见博客首页 Calendar 卡片 https://blog.meta-code.top/

@Zfour Zfour merged commit cfd2f97 into Zfour:master Aug 8, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants