-
Notifications
You must be signed in to change notification settings - Fork 31
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
CF抓题部分出现问题了~~建议更新下 #18
Comments
codechef的抓题和评测一直有问题哦 |
codechef抓题一直为空,评测一直是judge error |
还有就是现在抓CF的题目会不停的往下抓,ABCDEFGHIJ...不能判断这个contest有多少题目,还要自己写个判断才能中止. |
codechef的抓题和评测请更新一下好吗?均不能正常工作啊 |
crccw
added a commit
to crccw/bnuoj-web-v3
that referenced
this issue
Jul 20, 2016
@car1stedt 确实没有判断,从A开始爬到题目不存在为止 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pcrawlers.php文件应该更新下~
codeforces旧的面板样例部分叫Sample test(s),旧的抓取规则已经失效了,导致抓题没有样例。
if (preg_match("/Sample test\\(s\\)<\\/div>(.*<\\/div><\\/div>)<\\/div>/sU", $content,$matches))
现在新的样例部分叫Examples,
要改成
if (preg_match("/Examples<\\/div>(.*<\\/div><\\/div>)<\\/div>/sU", $content,$matches))
才能正常抓题。
找了好久才发现这里出问题了,cf更新的太突然。。
The text was updated successfully, but these errors were encountered: