First lesson Experience

Source: Internet
Author: User

Then the previous article found the cause of the error in the Login Course page: Cookie does not match

By using Google Chrome F12 debug found that in a certain period of time, to the Grab class page post data headers included in the cookie is the same

However, and through Python's cookielib. Cookiejar () The cookie is not the same, so through manual debugging to get cookie write headers to achieve post function


The school first a few days before the robbery to release the lesson page, and then the next day to the list of courses to hide the page, and to rob the class page post data is not responding.

However, the day before the robbery I was in the post data when the response content "Class time conflict", it is estimated that the school at that time to open the Post function, allow direct post data to the server to modify, wait until early next morning I try to post data again, Found response or "Class time conflict", prove that the school did not review this, and then to rob class time to grab the class page open, in a look at my class has been selected. This shows that the school's robbery class set up a major bug, but also led to my first time to rob the class test in my unexpected situation ended. (I still want to try to keep the post data for the good cutting of the lesson in the rush!!!) )

The final exam is almost here, and it's time to review. The second time to take lessons to the sophomore school! Look forward to the time will have a different course.

Finally learned that Python urllib3 seems to have a re-connected function, it seems that this is very important to rob lesson ah, but the internet seems to find a lot of information, later found the words to study well.

This article from "11663233" blog, declined reprint!

First lesson Experience

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.