- Remove unreliable URL pass-through strategy (image_url field) - Always download and upload images as File objects - Get MIME type from HTTP response headers for URLs - Use File constructor (not just Blob) for proper multipart metadata - Add comprehensive error logging with headers and file metadata - Simplify to single reliable upload path Fixes 400 'Upload a valid image' error caused by Blob not providing proper filename/MIME metadata in multipart form data.
123 lines
2.9 KiB
JSON
123 lines
2.9 KiB
JSON
{
|
|
"cookies": [
|
|
{
|
|
"name": "csrftoken",
|
|
"value": "SDRORLyWEsWWty2ZoVGdER",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1800850168.116943,
|
|
"httpOnly": false,
|
|
"secure": true,
|
|
"sameSite": "Lax"
|
|
},
|
|
{
|
|
"name": "datr",
|
|
"value": "isQuaeXe5-2mFvFSOdcgVq0u",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1799232653.525143,
|
|
"httpOnly": true,
|
|
"secure": true,
|
|
"sameSite": "None"
|
|
},
|
|
{
|
|
"name": "ig_did",
|
|
"value": "5650C8B9-B8D8-4102-9B49-F0668CE34202",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1796208680.653147,
|
|
"httpOnly": true,
|
|
"secure": true,
|
|
"sameSite": "Lax"
|
|
},
|
|
{
|
|
"name": "mid",
|
|
"value": "aS7EigALAAHxXAxrkYg18Fzi-SR7",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1799232653.525191,
|
|
"httpOnly": true,
|
|
"secure": true,
|
|
"sameSite": "None"
|
|
},
|
|
{
|
|
"name": "ds_user_id",
|
|
"value": "59661903731",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1774066168.117026,
|
|
"httpOnly": false,
|
|
"secure": true,
|
|
"sameSite": "None"
|
|
},
|
|
{
|
|
"name": "wd",
|
|
"value": "1280x720",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1766894070,
|
|
"httpOnly": false,
|
|
"secure": true,
|
|
"sameSite": "Lax"
|
|
},
|
|
{
|
|
"name": "sessionid",
|
|
"value": "59661903731%3AbekaIlo4nn7x2n%3A29%3AAYig82sWcnm2bGaQlry72PN7OrhFZ4YYZt4_qM78dA",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": 1797822591.250111,
|
|
"httpOnly": true,
|
|
"secure": true,
|
|
"sameSite": "Lax"
|
|
},
|
|
{
|
|
"name": "rur",
|
|
"value": "\"CLN\\05459661903731\\0541797826168:01fe0c70391c9f4322366f6ea648ca6647818cd2ca16c215419a55558746287e2865245d\"",
|
|
"domain": ".instagram.com",
|
|
"path": "/",
|
|
"expires": -1,
|
|
"httpOnly": true,
|
|
"secure": true,
|
|
"sameSite": "Lax"
|
|
}
|
|
],
|
|
"origins": [
|
|
{
|
|
"origin": "https://www.instagram.com",
|
|
"localStorage": [
|
|
{
|
|
"name": "chatd-deviceid",
|
|
"value": "0265e9b3-0083-498a-9424-7a08289dfb45"
|
|
},
|
|
{
|
|
"name": "hb_timestamp",
|
|
"value": "1766286591975"
|
|
},
|
|
{
|
|
"name": "IGSession",
|
|
"value": "6m2tlb:1766291968512"
|
|
},
|
|
{
|
|
"name": "pixel_fire_ts",
|
|
"value": "1766282683056"
|
|
},
|
|
{
|
|
"name": "signal_flush_timestamp",
|
|
"value": "1766286592008"
|
|
},
|
|
{
|
|
"name": "Session",
|
|
"value": "nrg3hr:1766290203512"
|
|
},
|
|
{
|
|
"name": "has_interop_upgraded",
|
|
"value": "{\"lastCheckedAt\":1766279008975,\"status\":false}"
|
|
},
|
|
{
|
|
"name": "banzai:last_storage_flush",
|
|
"value": "1766279009540.7998"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |