0
試圖使用腳本更新我的url轉發,同時使用pythong通過web登錄屏蔽。我谷歌相當多的工作代碼,但沒有人爲我工作。使用會話的python登錄freenom
下面是一個最常見的代碼我得到:
import requests
url = "https://my.freenom.com/clientarea.php?action=emails"
payload = {'username': '[email protected]', 'password': 'mypassword'}
with requests.session() as s:
# fetch the login page
s.get(url)
# post to the login form
r = s.post(url, data=payload)
print(r.content)
當我保存打印成HTML,我看到它是不是logined page.Any身上看不到任何明顯的問題?