-
Notifications
You must be signed in to change notification settings - Fork 0
/
aol.py
27 lines (22 loc) · 861 Bytes
/
aol.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import requests
url = "https://geo.yahoo.com/p"
headers = {
"Host": "geo.yahoo.com",
"Cookie": "A3=d=AQABBMAV_2QCEPOdGqmVO5g-E61EBoY0NDEFEgEBAQFnAGUIZY14zSMA_eMAAA&S=AQAAAgvpZlTBjqpMHkc6Q1Qv8us",
"Sec-Ch-Ua": "",
"Sec-Ch-Ua-Mobile": "?0",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.111 Safari/537.36",
"Sec-Ch-Ua-Platform": "",
"Accept": "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
"Sec-Fetch-Site": "cross-site",
"Sec-Fetch-Mode": "no-cors",
"Sec-Fetch-Dest": "image",
"Referer": "https://login.aol.com/",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "en-US,en;q=0.9"
}
params = {
"username": "[email protected]",
}
response = requests.get(url, headers=headers, params=params)
print(response.text)