Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- api/automation_engine.py +12 -0
RELEASES.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v14",
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "6e6c42b",
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v14",
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
6e6c42b
|
api/automation_engine.py
CHANGED
|
@@ -3475,6 +3475,18 @@ def pull_profile_bd(url, max_posts=DEFAULT_POSTS_PER_PULL, post_metrics=False,
|
|
| 3475 |
# PROVENANCE would flip halfway through a row.
|
| 3476 |
if target and row.get("views") not in (None, ""):
|
| 3477 |
target["views"] = row["views"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3478 |
used = next((a.provider for a in attempts if a.ok), "")
|
| 3479 |
if used:
|
| 3480 |
note = "; ".join(x for x in (note, f"view counts via {used}") if x)
|
|
|
|
| 3475 |
# PROVENANCE would flip halfway through a row.
|
| 3476 |
if target and row.get("views") not in (None, ""):
|
| 3477 |
target["views"] = row["views"]
|
| 3478 |
+
# ⭐ LOCATION RIDES ALONG FOR FREE, AND ONLY INTO A GAP (2026-08-08).
|
| 3479 |
+
# MEASURED: Bright Data's `location_details` is RICHER when present — it carries
|
| 3480 |
+
# real coordinates (`lat -6.9246, lng 106.9292, name "Sukabumi"`) which Apify does
|
| 3481 |
+
# not return at all — but it is populated on only 44 of 227 posts, and on
|
| 3482 |
+
# `DblAkEbv0ry` it returned nothing while Apify returned "Jakarta, Indonesia".
|
| 3483 |
+
# So Bright Data stays the source and this fills only what it left BLANK.
|
| 3484 |
+
# ⛔ THE COST ARGUMENT IS WHY IT IS HERE AND NOT ITS OWN CAPABILITY: this Apify
|
| 3485 |
+
# record has ALREADY been bought for the view count and carries `locationName` in
|
| 3486 |
+
# the same payload. Routing location as a separate capability would buy a second
|
| 3487 |
+
# record for a field that is already sitting in this response.
|
| 3488 |
+
if target and not str(target.get("tagged_location") or "").strip() and str(row.get("tagged_location") or "").strip():
|
| 3489 |
+
target["tagged_location"] = row["tagged_location"]
|
| 3490 |
used = next((a.provider for a in attempts if a.ok), "")
|
| 3491 |
if used:
|
| 3492 |
note = "; ".join(x for x in (note, f"view counts via {used}") if x)
|