Current location - Education and Training Encyclopedia - Educational Knowledge - How to play the video of Jiangsu Vocational School students' safety education platform automatically?
How to play the video of Jiangsu Vocational School students' safety education platform automatically?
The video of Jiangsu vocational school students' safety education platform adopts Python+selenium to realize automatic video hanging and broadcasting.

1, semi-automatic login. The account password can be set and will be automatically entered on the login page, but you need to enter the verification code yourself and click Personal Login.

2. Automatically enter the course.

3. Deal with all the situations that occur during video playback: answer questions, error prompts, etc.

4. Automatically enter the next course after playing.

5. Use a logger decorator in the whole process, wrap main () and transfer all output (including errors) to the logger.log file.