IT WORKS!
This commit is contained in:
parent
ef8b6788b9
commit
f1e657d5b7
9
main.py
9
main.py
@ -8,6 +8,7 @@
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import re
|
||||
import requests
|
||||
|
||||
html_sample = """
|
||||
|
||||
@ -1594,4 +1595,10 @@ if __name__ == '__main__':
|
||||
post_data["&ctl00%24cphMain%24ctl08"] = -1
|
||||
print(post_data)
|
||||
|
||||
# post_path = "https://guap.ru/rasp/?g=2"
|
||||
post_headers = {"Content-Type": "application/x-www-form-urlencoded"}
|
||||
post_url = "https://guap.ru/rasp/?g=2"
|
||||
post_result = requests.post(post_url, data=post_data, headers=post_headers)
|
||||
|
||||
print(
|
||||
post_result.text
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user