Skip to content

Commit

Permalink
CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 14, 2023
1 parent 580f679 commit 90ee1b7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions dist/chatgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
// @name:zh-CN ChatGPT Exporter
// @name:zh-TW ChatGPT Exporter
// @namespace pionxzh
// @version 2.6.3
// @version 2.6.4
// @author pionxzh
// @description Easily export the whole ChatGPT conversation history for further analysis or sharing.
// @description:zh-CN 轻松导出 ChatGPT 聊天记录,以便进一步分析或分享。
// @description:zh-TW 輕鬆匯出 ChatGPT 聊天紀錄,以便進一步分析或分享。
// @license MIT
// @icon https://chat.openai.com/favicon.ico
// @match https://chat.openai.com/chat
// @match https://chat.openai.com/chat?*
// @match https://chat.openai.com/chat/*
// @match https://chat.openai.com
// @match https://chat.openai.com/c?*
// @match https://chat.openai.com/c/*
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/jszip.min.js
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/html2canvas.min.js
Expand Down Expand Up @@ -1176,7 +1175,7 @@ var __publicField = (obj, key, value) => {
return user;
}
function getChatIdFromUrl() {
const match = location.pathname.match(/^\/chat\/([a-z0-9-]+)$/i);
const match = location.pathname.match(/^\/c\/([a-z0-9-]+)$/i);
if (match)
return match[1];
return null;
Expand Down Expand Up @@ -15636,7 +15635,7 @@ var __publicField = (obj, key, value) => {
}).join("\n\n");
const date = dateStr();
const time = (/* @__PURE__ */ new Date()).toISOString();
const source = `${baseUrl}/chat/${id}`;
const source = `${baseUrl}/c/${id}`;
const lang = document.documentElement.lang ?? "en";
const theme = getColorScheme();
const _metaList = (metaList == null ? void 0 : metaList.filter((x2) => !!x2.name).map(({
Expand Down Expand Up @@ -15867,7 +15866,7 @@ var __publicField = (obj, key, value) => {
modelSlug,
conversationNodes
} = conversation;
const source = `${baseUrl}/chat/${id}`;
const source = `${baseUrl}/c/${id}`;
const _metaList = (metaList == null ? void 0 : metaList.filter((x2) => !!x2.name).map(({
name,
value
Expand Down

0 comments on commit 90ee1b7

Please sign in to comment.