I'm trying to submit a form on link , but I've already tried several ways here in stackoverflow of how to submit a form, and found no way to solve this problem.
This is a code sample I took here in the forum and it did not work.
import requests
headers = {'User-Agent': 'Mozilla/5.0'}
payload = {'login':'*******','senha':'******'}
session = requests.Session()
r = session.post('https://www.loskatchorros.com.br/ucp/login.php',headers=headers,data=payload)
When placing the line:
print (r.text)
The program returns the same source code as link , this implies that the form was not submitted successfully, and wanted to know what I'm doing wrong.
If you need the real login and password, please let me know without any problem