Spaces:
Running
Running
Update alisto_project/backend/ingest_reddit.py
Browse files
alisto_project/backend/ingest_reddit.py
CHANGED
|
@@ -405,12 +405,14 @@ async def scrape_reddit():
|
|
| 405 |
|
| 406 |
|
| 407 |
# NEW: Authenticated Login (REQUIRED for Hugging Face)
|
|
|
|
|
|
|
| 408 |
reddit = asyncpraw.Reddit(
|
| 409 |
-
client_id=
|
| 410 |
-
client_secret=
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
)
|
| 415 |
|
| 416 |
try:
|
|
|
|
| 405 |
|
| 406 |
|
| 407 |
# NEW: Authenticated Login (REQUIRED for Hugging Face)
|
| 408 |
+
print("⚠️ Attempting Login with HARDCODED Credentials...")
|
| 409 |
+
|
| 410 |
reddit = asyncpraw.Reddit(
|
| 411 |
+
client_id="GgWE7FursBAvZhx10Lkpwg",
|
| 412 |
+
client_secret="9q6IbYUQN21PrpzMx1NNyv8YRBFEcg",
|
| 413 |
+
user_agent="script:test:v1.0 (by /u/TetCat87)",
|
| 414 |
+
username="TetCat87",
|
| 415 |
+
password="orangecat8787"
|
| 416 |
)
|
| 417 |
|
| 418 |
try:
|