Python环境:3.7
安装Scrapy:pip install Scrapy
进入登入页面:https://www.facebook.com/
成功登入后点击 F12进入开发者模式:
找到登入的请求页面:
我懒的找了所有:https://www.facebook.com/login/device-based/regular/login/?login_attempt=1&lwv=110 :
name = 'mafengwo'
host = "https://www.facebook.com/"
username = "1737751826501" # 帐号
password = "**************" # 密码
headerData = {
"authority": "www.facebook.com",
'