On the problem of extracting cookie from python simulated landing

want to use python to open a web page, log in to the system, extract cookie and other operations, because that system is very painful, so the implementation of bag-grabbing simulation has been given up.

now we have realized the function of extracting cookie after manual login with python+pyqt4 "s qwebview, but batch operation is needed. Can the steps of manual login be realized by program?

ask the gods for help to think of a way:
is there any way for pyqt webview to directly trigger web page events or manipulate web pages? Or use python to simulate the keyboard and mouse operation to complete the account password input process and login submission process?
or are there any more efficient implementation ideas?

Mar.16,2021

consider using selenium, to log in automatically, except that the CAPTCHA requires identification algorithm or manual input, and there is no need to parse cookie, conveniently and quickly

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-1e999a4-47546.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-1e999a4-47546.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?