import requests import base64 import urllib3 urllib3.disable_warnings() tc = 11111111110 cookies = { '_ym_uid': '1687518463903548369', '_ym_d': '1687518463', '_ym_isad': '1', 'ASP.NET_SessionId': 'ptnbhnuhpdsqifvgjldg54cu', } headers = { 'authority': 'eokul.meb.gov.tr', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'accept-language': 'tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7', 'cache-control': 'max-age=0', 'content-type': 'application/x-www-form-urlencoded', # 'cookie': '_ym_uid=1687518463903548369; _ym_d=1687518463; _ym_isad=1; ASP.NET_SessionId=ptnbhnuhpdsqifvgjldg54cu', 'origin': 'https://eokul.meb.gov.tr', 'referer': 'https://eokul.meb.gov.tr/IlkOgretim/OKL/IOK25002.aspx', 'sec-ch-ua': '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"', 'sec-fetch-dest': 'document', 'sec-fetch-mode': 'navigate', 'sec-fetch-site': 'same-origin', 'sec-fetch-user': '?1', 'upgrade-insecure-requests': '1', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', } data = { '__EVENTTARGET': '', '__EVENTARGUMENT': '', '__LASTFOCUS': '', '__VIEWSTATEFIELDCOUNT': '17', '__VIEWSTATE': '/wEPDwULLTExNzQ1NTQzMTQPZBYCAgUPZBYSAgEPZBYGAgEPDxYCHgRUZXh0BQY3NjIyNDVkZAIDDw8WAh4HVmlzaWJsZWhkFgQCAQ8PFgIfAAVRS0FSQULDnEsgLyBTQUZSQU5CT0xVIC8gxZ5laGl0IE11cmF0IEFrZGVtaXIgQW5hZG9sdSDEsG1hbSBIYXRpcCBMaXNlc2kgKDc2MjI0NSkgZGQCBw9kFgICAQ8PFgIeCEltYWdlVX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vQcQlti8CIIgYvWyjmMC+7XpJ1WdWE9kBw7ztUZYlShkvyc39d0u2sEdZlUJpFybVJVU8eFdaS5q22d/oPwx3Gm5mW7yPm/YvLja+X34m2tRs2AH0X2Wxq0eySWosFka/TAr/fP+zO9luW5v/VyU8srqtVdSZuznA/bJS8ajqGkHs/KMlkgU2yGzisIzOJ76tglGf0QRApJFfqKV6i4lF2egu774BMwWwpHsFNaSDM3PnL61bIb1+omUFKCoC39OK2ORPfKDyHVbWrpn3rOJKFmCqQS1mjt/GUkWCoX5ql+dPAGrZ02kmDOmnRRCYVRKBbKRKcFFQcxgr5/a4IHJJHWMBgkFavkM++Y50H6x/lf4xAcunuMuPkdatUUBjvCn5lWbjxd+kaW2fOi6n/GTErb29GK35OrgqPX39DfE13kKzGPS7KQm3FFZNwBeV9Vx0HgxWt0zrmiZIkzisJOpflpWKYuynRSrHU55GX1KKA35zUfX5xBfdOgWCiQJkU8Qk+V1S3XPWXpHZ9ricqdRPTQ7d9G3LpZJ', 'IOMPageHeader1$txtBaglantiSonu': '09:54', 'hdnDonem': '53', 'OKLMenu1$ddlHizliOgretimYili': '53', 'hdnListe': '1', 'hiddenKaydet': '', 'pageMode': '', 'hdnSecimKnt': {tc}, 'hdnGizli': '0', 'hdnDersKodu': '', 'ddlSinifiSubesi': '18841814', 'btnListele': 'SeƧ', } response = requests.post('https://eokul.meb.gov.tr/IlkOgretim/OKL/IOK25002.aspx', cookies=cookies, headers=headers, data=data) url3 = "https://eokul.meb.gov.tr/IlkOgretim/OKL/OKLResimGoster.aspx" response = requests.get(url3, headers=headers, cookies=cookies, verify=True) image_data = response.content base64_data = base64.b64encode(image_data).decode('utf-8') veri = base64_data naber = (f"data:image/png;base64," + veri) imgFile = open('image.png', 'wb') imgFile.write(image_data) imgFile.close() input()