search

Home  >  Q&A  >  body text

python - 微信公众号数据爬取

大家讲道理大家讲道理2892 days ago492

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:24:43

    I am currently capturing Sogou articles, readings/likes, comments, etc. I haven’t taken the time to study WeChat on mobile phones, but I remember that WeChat captures packets in three steps before. Articles and comments are respectively GET is used to obtain the number of reads/likes via POST. See if you can get the result by POSTing the captured data together

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:24:43

    The error message is clearly written. There is a problem with the certificate when accessing https. You can forcefully cancel the https certificate verification and try again

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:24:43

    It should have nothing to do with the certificate. Using "verify=False" has canceled the certificate authentication on the server side. I just used your code to access "https://baidu.com" and it returned 405, which is not correct. After removing the header, it can be correct. Get the result; maybe the header is wrong

    reply
    0
  • Cancelreply