Skip to content

Commit 2cc361f

Browse files
authored
Feat: Supporting Claude Share URLs (#277)
* feat: support for claude.ai/share * fix: title selector for Claude Share * 3.8.7
1 parent edb0709 commit 2cc361f

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "save-my-chatbot",
3-
"version": "3.8.6",
3+
"version": "3.8.7",
44
"license": "RMD-C 1.1",
55
"author": "Hugo COLLIN",
66
"homepage": "https://save.hugocollin.com",

public/files/updateNotes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Update notes
2-
# 3.8.6
2+
# 3.8.7
33
🚀 Perplexity sources extraction working again!
44
Perplexity changed its interface again, but the extension is now back on track!
55

6+
💡 Export shared Claude threads
7+
Support for shared Claude threads (claude.ai/share) is now available!
8+
69
# 3.8.5
710
⚙️ Better Options page
811
The Options page has been redesigned to be more user-friendly and to prepare for future features.

src/data/allowedDomains.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"ChatGPTShare": "chatgpt.com/share",
1616
"ChatGPTBots": "chatgpt.com/g",
1717
"ChatGPTSignedOut": "chatgpt.com",
18-
"ClaudeChat": "claude.ai/chat"
18+
"ClaudeChat": "claude.ai/chat",
19+
"ClaudeShare": "claude.ai/share"
1920
}
2021
}

src/features/scraper/domains/ClaudeChat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domainName": "Claude Chat",
33
"pageTitle": {
4-
"selector": "[data-testid=\"chat-menu-trigger\"]"
4+
"selector": "[data-testid=\"chat-menu-trigger\"], .tracking-tight.truncate"
55
},
66
"contentSelector": "[data-test-render-count]",
77
"turndown": {

src/features/scraper/extractPage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export async function extractPage(domain: { name: any; url?: any; }) {
2727
json = require("./domains/ChatGPT.json");
2828
break;
2929
case "ClaudeChat":
30+
case "ClaudeShare":
3031
module = require("./domains/ClaudeChat");
3132
json = require("./domains/ClaudeChat.json");
3233
break;

0 commit comments

Comments
 (0)