Spaces:
Running
Running
Delete _run.py with huggingface_hub
Browse files
_run.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
from app_v2_entry import app # v5-stable inline bongda proxy
|
| 2 |
-
|
| 3 |
-
# Setup YouTube RSS proxy for shorts (24h filter)
|
| 4 |
-
try:
|
| 5 |
-
from shorts_rss_proxy import setup_rss_proxy
|
| 6 |
-
setup_rss_proxy(app)
|
| 7 |
-
print("[SHORTS] RSS proxy + 24h filter enabled")
|
| 8 |
-
except Exception as e:
|
| 9 |
-
print(f"[SHORTS] RSS proxy setup failed: {e}")
|
| 10 |
-
|
| 11 |
-
# Setup wall 24h API
|
| 12 |
-
try:
|
| 13 |
-
from wall_24h_api import setup_wall_24h
|
| 14 |
-
setup_wall_24h(app)
|
| 15 |
-
print("[WALL] 24h API enabled")
|
| 16 |
-
except Exception as e:
|
| 17 |
-
print(f"[WALL] 24h API setup failed: {e}")
|
| 18 |
-
|
| 19 |
-
# Run wall cleanup on startup
|
| 20 |
-
try:
|
| 21 |
-
from wall_cleanup import cleanup_old_wall_posts
|
| 22 |
-
cleanup_old_wall_posts()
|
| 23 |
-
print("[WALL] Cleanup done on startup")
|
| 24 |
-
except Exception as e:
|
| 25 |
-
print(f"[WALL] Cleanup failed: {e}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|