get_inbox/get_conversation return a sections+references envelope, not a message list. Parser is covered by synthetic Alice/Bob fixtures; CI now runs the nested bin/chats tests. Session check no longer launches Chromium.
35 lines
886 B
JSON
35 lines
886 B
JSON
{
|
|
"url": "https://www.linkedin.com/messaging/",
|
|
"sections": {
|
|
"inbox": "Messaging\nInbox\nConversation List\nAlice Example\nExciting opportunity for a senior software engineer\n"
|
|
},
|
|
"references": {
|
|
"inbox": [
|
|
{
|
|
"kind": "conversation",
|
|
"url": "/messaging/thread/2-YWxpY2UtYm9iLXRocmVhZC0xMjM=/",
|
|
"context": "inbox",
|
|
"text": "Alice Example"
|
|
},
|
|
{
|
|
"kind": "person",
|
|
"url": "/in/alice-example/",
|
|
"text": "Alice Example",
|
|
"context": "inbox"
|
|
},
|
|
{
|
|
"kind": "conversation",
|
|
"url": "/messaging/thread/2-Y2hhcmxpZS1ib2ItdGhyZWFkLTQ1Ng==/",
|
|
"context": "inbox",
|
|
"text": "Charlie Example"
|
|
},
|
|
{
|
|
"kind": "conversation",
|
|
"url": "/messaging/thread/",
|
|
"context": "inbox",
|
|
"text": "should-be-skipped"
|
|
}
|
|
]
|
|
}
|
|
}
|