Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -1,24 +1,31 @@
|
|
| 1 |
import requests
|
| 2 |
-
|
| 3 |
-
headers = {
|
| 4 |
-
"Range": "bytes=0-",
|
| 5 |
-
"Referer": "https://d000d.com/",
|
| 6 |
-
"User-Agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0",
|
| 7 |
-
"Accept-Language":"en-US,en;q=0.5",
|
| 8 |
-
"X-Requested-With":"XMLHttpRequest"
|
| 9 |
-
}
|
| 10 |
-
|
| 11 |
-
url = "https://d000d.com/pass_md5/127488538-27-150-1724518008-5662b9c2ccc93709c43ad53f27a6db87/2dluu1n1zpgqb9ss46j3dh88"
|
| 12 |
-
|
| 13 |
-
# Define your proxy
|
| 14 |
proxy = "http://uigjnltt:wh0r7ws6tq0q@206.41.172.74:6634"
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
print(response.text)
|
| 23 |
-
print(len(response.text))
|
| 24 |
-
# This will print the HTML content of the page
|
|
|
|
| 1 |
import requests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
proxy = "http://uigjnltt:wh0r7ws6tq0q@206.41.172.74:6634"
|
| 3 |
+
response = requests.get(
|
| 4 |
+
url='https://d000d.com/pass_md5/127746384-93-32-1724519197-5dda338306ac980981c36aad248defc1/14cooyt8ihmij98u8wckbaif',
|
| 5 |
+
headers={
|
| 6 |
+
"User-Agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0",
|
| 7 |
+
"Accept":"*/*",
|
| 8 |
+
"Accept-Language":"en-US,en;q=0.5",
|
| 9 |
+
"Accept-Encoding":"gzip, deflate, br, zstd",
|
| 10 |
+
"X-Requested-With":"XMLHttpRequest",
|
| 11 |
+
"DNT":"1",
|
| 12 |
+
"Sec-GPC":"1",
|
| 13 |
+
"Connection":"keep-alive",
|
| 14 |
+
"Referer":"https://d000d.com/e/9b3w45p3h2gz",
|
| 15 |
+
"Sec-Fetch-Dest":"empty",
|
| 16 |
+
"Sec-Fetch-Mode":"cors",
|
| 17 |
+
"Sec-Fetch-Site":"same-origin",
|
| 18 |
+
"Pragma":"no-cache",
|
| 19 |
+
"Cache-Control":"no-cache",
|
| 20 |
+
"TE":"trailers"
|
| 21 |
+
},
|
| 22 |
+
cookies={
|
| 23 |
+
"lang":"1"
|
| 24 |
+
},
|
| 25 |
+
proxies={
|
| 26 |
+
"http": proxy,
|
| 27 |
+
"https": proxy
|
| 28 |
+
}
|
| 29 |
|
| 30 |
+
)
|
| 31 |
print(response.text)
|
|
|
|
|
|