Requests cookies simulated login encountered problems

as mentioned above, I tried to use cookies to simulate login to www.jianshu.com, but failed. Come here to find some ideas.

the process of simulation: f12 cookies,cookies network found a little too much, first added all of it, found that it didn"t work.
because I have mastered some basic operations, I can"t think of why, how to do it, how to solve it, and just give me a train of thought.

Code:

   

The

problem has been solved and has been fooled by js again (be sure to remember it next time).
the tag I chose for that page is dynamically added with js, so it's normal to climb nothing. Then I analyzed the page obtained with the crawler and found that the login was successful.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-49eaa58-1e631.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-49eaa58-1e631.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?