Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -2,7 +2,7 @@ from curl_cffi import requests
|
|
| 2 |
|
| 3 |
|
| 4 |
response = requests.get(
|
| 5 |
-
url="https://
|
| 6 |
impersonate="chrome120",
|
| 7 |
headers={
|
| 8 |
"User-Agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0",
|
|
@@ -11,17 +11,21 @@ response = requests.get(
|
|
| 11 |
"Accept-Encoding":"gzip, deflate, br, zstd",
|
| 12 |
"DNT":"1",
|
| 13 |
"Sec-GPC":"1",
|
| 14 |
-
"Alt-Used":"cb01.ventures",
|
| 15 |
"Connection":"keep-alive",
|
| 16 |
"Upgrade-Insecure-Requests":"1",
|
| 17 |
"Sec-Fetch-Dest":"document",
|
| 18 |
"Sec-Fetch-Mode":"navigate",
|
| 19 |
-
"Sec-Fetch-Site":"
|
|
|
|
| 20 |
"Priority":"u=1",
|
| 21 |
"Pragma":"no-cache",
|
| 22 |
"Cache-Control":"no-cache"
|
| 23 |
},
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
)
|
| 26 |
|
| 27 |
-
print(response.text)
|
|
|
|
|
|
| 2 |
|
| 3 |
|
| 4 |
response = requests.get(
|
| 5 |
+
url="https://onlineserietv.com/",
|
| 6 |
impersonate="chrome120",
|
| 7 |
headers={
|
| 8 |
"User-Agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0",
|
|
|
|
| 11 |
"Accept-Encoding":"gzip, deflate, br, zstd",
|
| 12 |
"DNT":"1",
|
| 13 |
"Sec-GPC":"1",
|
|
|
|
| 14 |
"Connection":"keep-alive",
|
| 15 |
"Upgrade-Insecure-Requests":"1",
|
| 16 |
"Sec-Fetch-Dest":"document",
|
| 17 |
"Sec-Fetch-Mode":"navigate",
|
| 18 |
+
"Sec-Fetch-Site":"none",
|
| 19 |
+
"Sec-Fetch-User":"?1",
|
| 20 |
"Priority":"u=1",
|
| 21 |
"Pragma":"no-cache",
|
| 22 |
"Cache-Control":"no-cache"
|
| 23 |
},
|
| 24 |
+
cookies={
|
| 25 |
+
"player_opt":"fx"
|
| 26 |
+
},
|
| 27 |
|
| 28 |
)
|
| 29 |
|
| 30 |
+
print(response.text)
|
| 31 |
+
|