Python crawler introductory tutorial 90-100 CSDN automatic sign-in device at 5 am, do some nosy with Python crawler

Dream Eraser: This is the 90th article of 100 Crawlers. I am very impressed by this. It has been two years since the first article was published on July 30, 2018, and it is about to reach the end. Although the change was interrupted many times during the process due to work reasons, I finally persisted in this series, getting closer and closer to the end. It is still quite emotional. We will see 100 articles.

Write in front

The 90th article, let's do some nosy with Python crawlers, after all, there are 10 more articles near the end. Today we will continue to experiment with the CSDN website. The code involved in this blog is not much, but it can provide many friends with some ideas to solve the problem.

What this blog has to do is to automatically open the webpage, switch to the sign-in page, sign-in automatically, and sign-in at 5 o'clock in the morning every day when the day is still dark, making it look like a diligent everyday.

First send an included picture to Baidu
Python crawler introductory tutorial 90-100 CSDN automatic sign-in device at 5 am, do some nosy with Python crawler

Everyone should have seen the following page, although I have never won any prizes other than the 30 yuan useless coupon (the key point is, what is the probability of winning) (maybe the day will come, and the lottery will be broken) , I hope that after reading this article, CSDN operators, pay attention to a "thief" thinking about you ^_^). The sign-in button has the following states, which are what we will capture later.

Not checked in

Guess you like

Origin blog.csdn.net/hihell/article/details/108583626