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

Race only works on virtual contests #21

Closed
infalmo opened this issue Jul 21, 2019 · 7 comments
Closed

Race only works on virtual contests #21

infalmo opened this issue Jul 21, 2019 · 7 comments

Comments

@infalmo
Copy link

infalmo commented Jul 21, 2019

What does race actually do? Is it intended to work on contests that are yet to be held?
In my observation, cf race command works well for a virtual contest. However, for a real-time contest that is going to be held, cf race gives a message Cant find countdown. I tested this on the global round yesterday, and it gave the above message...

@xalanq
Copy link
Owner

xalanq commented Jul 22, 2019

race command will find the countdown in Codeforces contest's page by a regular expression class=["']countdown["'][\s\S]*?(\d+):(\d+):(\d+). Maybe that's wrong...
I'll try to fix it

@xalanq
Copy link
Owner

xalanq commented Jul 22, 2019

I can't reproduce the bug... Now it works for me in Educational Codeforces Round 69 (Rated for Div. 2).

@infalmo
Copy link
Author

infalmo commented Jul 22, 2019

Wierd. It works now! I'll try 1/2 hour before the start of the contest and respond back to you!

@infalmo
Copy link
Author

infalmo commented Jul 22, 2019

Screenshot from 2019-07-22 20-02-51

@infalmo
Copy link
Author

infalmo commented Jul 22, 2019

I think race fails to work after registrations have been closed. Im just guessing though.

@xalanq
Copy link
Owner

xalanq commented Jul 23, 2019

Wierd...

@xalanq
Copy link
Owner

xalanq commented Jul 23, 2019

I try to use another way to implement this.

@xalanq xalanq closed this as completed in 4ee78e8 Jul 23, 2019
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

No branches or pull requests

2 participants