我正在尝试登录此网站: https://www.fotocommunity.de/login
我的Python脚本如下所示:
import requests
payload = {
'login[login]': 'myUser',
'login[pass]': 'myPassword',
'login[vorname]':''
}
with requests.Session() as c:
c.post('https://www.fotocommunity.de/login', data=payload)
r=c.get('http://www.fotocommunity.de/pc/pc/channel/8/extra/new/display/32815218')
print(r.content)
某种程度上不起作用。我不知道我做错了什么。