Upload main.py
Browse files
main.py
CHANGED
@@ -1289,17 +1289,17 @@ async def send_visitor_webhook():
|
|
1289 |
# Format the path more specifically as shown in the example
|
1290 |
path_display = v['path']
|
1291 |
if "textures" in path_display.lower():
|
1292 |
-
path_display = "www.
|
1293 |
elif "tires" in path_display.lower() or "rims" in path_display.lower():
|
1294 |
-
path_display = "www.
|
1295 |
elif "calculator" in path_display.lower():
|
1296 |
-
path_display = "www.
|
1297 |
elif "drift" in path_display.lower() or "particles" in path_display.lower():
|
1298 |
-
path_display = "www.
|
1299 |
elif "furniture" in path_display.lower():
|
1300 |
-
path_display = "www.
|
1301 |
elif "spoilers" in path_display.lower():
|
1302 |
-
path_display = "www.
|
1303 |
|
1304 |
# Format date like: Sunday, April 13, 2025 2:06 AM
|
1305 |
timestamp_str = v['timestamp'].strftime("%A, %B %d, %Y %I:%M %p")
|
@@ -1323,10 +1323,10 @@ async def send_visitor_webhook():
|
|
1323 |
"fields": fields,
|
1324 |
"timestamp": current_time.isoformat(),
|
1325 |
"footer": {
|
1326 |
-
"text": f"Sourced From
|
1327 |
},
|
1328 |
"thumbnail": {
|
1329 |
-
"url": "https://
|
1330 |
}
|
1331 |
}
|
1332 |
|
|
|
1289 |
# Format the path more specifically as shown in the example
|
1290 |
path_display = v['path']
|
1291 |
if "textures" in path_display.lower():
|
1292 |
+
path_display = "https://www.jailbreaktrading.xyz/textures"
|
1293 |
elif "tires" in path_display.lower() or "rims" in path_display.lower():
|
1294 |
+
path_display = "https://www.jailbreaktrading.xyz/tires"
|
1295 |
elif "calculator" in path_display.lower():
|
1296 |
+
path_display = "https://www.jailbreaktrading.xyz/value-calculator"
|
1297 |
elif "drift" in path_display.lower() or "particles" in path_display.lower():
|
1298 |
+
path_display = "https://www.jailbreaktrading.xyz/drift-particles"
|
1299 |
elif "furniture" in path_display.lower():
|
1300 |
+
path_display = "https://www.jailbreaktrading.xyz/furniture"
|
1301 |
elif "spoilers" in path_display.lower():
|
1302 |
+
path_display = "https://www.jailbreaktrading.xyz/spoilers"
|
1303 |
|
1304 |
# Format date like: Sunday, April 13, 2025 2:06 AM
|
1305 |
timestamp_str = v['timestamp'].strftime("%A, %B %d, %Y %I:%M %p")
|
|
|
1323 |
"fields": fields,
|
1324 |
"timestamp": current_time.isoformat(),
|
1325 |
"footer": {
|
1326 |
+
"text": f"Sourced From https://www.jailbreaktrading.xyz/ • Today at {current_time.strftime('%I:%M %p')}"
|
1327 |
},
|
1328 |
"thumbnail": {
|
1329 |
+
"url": "https://drive.google.com/thumbnail?id=1pGa8v5npgyGQYZBhJguUxZe9uxO7Dl6h&sz=w1000" # Update with your actual logo URL
|
1330 |
}
|
1331 |
}
|
1332 |
|