Update run.py
Browse files
run.py
CHANGED
|
@@ -18,31 +18,39 @@ b = get_maxstream(a)
|
|
| 18 |
c = get_m3u8_url_2(b)
|
| 19 |
https://ms-ssd-003.host-cdn.net/hls/llzepfxmrahnmttc2td4jn6q2lecsyow245iaqjss,eunz24hkboon5gjgpfq,pgn324hkbob63ikewna,w4n524hkbof5ccca63q,.urlset/master.m3u8
|
| 20 |
'''
|
| 21 |
-
headers = {
|
| 22 |
-
'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0',
|
| 23 |
-
'Accept': 'application/json, text/javascript, */*; q=0.01',
|
| 24 |
-
'Accept-Language': 'en-US,en;q=0.5',
|
| 25 |
-
# 'Accept-Encoding': 'gzip, deflate, br, zstd',
|
| 26 |
-
'X-Requested-With': 'XMLHttpRequest',
|
| 27 |
-
'DNT': '1',
|
| 28 |
-
'Sec-GPC': '1',
|
| 29 |
-
'Connection': 'keep-alive',
|
| 30 |
-
'Referer': 'https://eduboom.it/',
|
| 31 |
-
# 'Cookie': 'PHPSESSID=ibmi18fulfuhve42sq49tbkkme',
|
| 32 |
-
'Sec-Fetch-Dest': 'empty',
|
| 33 |
-
'Sec-Fetch-Mode': 'cors',
|
| 34 |
-
'Sec-Fetch-Site': 'same-origin',
|
| 35 |
-
'Pragma': 'no-cache',
|
| 36 |
-
'Cache-Control': 'no-cache',
|
| 37 |
-
# Requests doesn't support trailers
|
| 38 |
-
# 'TE': 'trailers',
|
| 39 |
-
}
|
| 40 |
-
params = {
|
| 41 |
-
'term': "Parini",
|
| 42 |
-
}
|
| 43 |
proxy = "uigjnltt@wh0r7ws6tq0q38.154.227.167:5868"
|
| 44 |
proxies = {
|
| 45 |
"http": proxy,
|
| 46 |
}
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
print(response.text)
|
|
|
|
|
|
| 18 |
c = get_m3u8_url_2(b)
|
| 19 |
https://ms-ssd-003.host-cdn.net/hls/llzepfxmrahnmttc2td4jn6q2lecsyow245iaqjss,eunz24hkboon5gjgpfq,pgn324hkbob63ikewna,w4n524hkbof5ccca63q,.urlset/master.m3u8
|
| 20 |
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
proxy = "uigjnltt@wh0r7ws6tq0q38.154.227.167:5868"
|
| 22 |
proxies = {
|
| 23 |
"http": proxy,
|
| 24 |
}
|
| 25 |
+
|
| 26 |
+
response = requests.get(
|
| 27 |
+
url="https://eduboom.it/ajax/lessons-search",
|
| 28 |
+
impersonate="chrome120",
|
| 29 |
+
params={
|
| 30 |
+
"term":"Sinistra e destra"
|
| 31 |
+
},
|
| 32 |
+
headers={
|
| 33 |
+
"User-Agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0",
|
| 34 |
+
"Accept":"application/json, text/javascript, */*; q=0.01",
|
| 35 |
+
"Accept-Language":"en-US,en;q=0.5",
|
| 36 |
+
"Accept-Encoding":"gzip, deflate, br, zstd",
|
| 37 |
+
"X-Requested-With":"XMLHttpRequest",
|
| 38 |
+
"DNT":"1",
|
| 39 |
+
"Sec-GPC":"1",
|
| 40 |
+
"Connection":"keep-alive",
|
| 41 |
+
"Referer":"https://eduboom.it/video/1170/van-gogh",
|
| 42 |
+
"Sec-Fetch-Dest":"empty",
|
| 43 |
+
"Sec-Fetch-Mode":"cors",
|
| 44 |
+
"Sec-Fetch-Site":"same-origin",
|
| 45 |
+
"Pragma":"no-cache",
|
| 46 |
+
"Cache-Control":"no-cache",
|
| 47 |
+
"TE":"trailers"
|
| 48 |
+
},
|
| 49 |
+
cookies={
|
| 50 |
+
"PHPSESSID":"javcud2dbvsob7jk1g7ljh1te8"
|
| 51 |
+
},
|
| 52 |
+
|
| 53 |
+
)
|
| 54 |
+
|
| 55 |
print(response.text)
|
| 56 |
+
|