Using requests to realize web page login and crawling, we can get < Response [200] >.

I originally wanted to use requests to crawl the json data in our cluepoints page. The style is as follows:

this site needs to be logged in. My code is as follows:

 Traceback (most recent call last):
  File "<pyshell-sharp5>", line 1, in <module>
    s.json()
AttributeError: "Session" object has no attribute "json"

ask the seniors to give us some advice. In fact, I just want to grab the data in the above picture to json format.

Mar.12,2021

  

res=s.post ("https://login.cluepoints.com/",data={"user":"xwei","passdw":"Lovelinbo19910716"})

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