Comments (14)
Yeah I've got the same issue on chrome.
from characterai-dumper.
I'm also having this same exact issue, perhaps the script needs an update?
from characterai-dumper.
I'm also having this same exact issue, perhaps the script needs an update?
Yeah it has started working again for some reason, probably was something on chat ai's side.
from characterai-dumper.
I'm also having this same exact issue, perhaps the script needs an update?
Yeah it has started working again for some reason, probably was something on chat ai's side.
Nvm, the issue still persists, but it seems to be with the more popular bots? I'm not entirely sure. When I picked a less popular bot and checked the saved chats the download link quickly appeared, but when I got to 2B for example the issue appears. I'm going to leave it on over night and see what happens.
from characterai-dumper.
I'm still getting it for my private bot so it's not only the popular ones. Strange.
(EDIT: when I say getting it I mean I'm still getting the issue i.e. no download links show up)
from characterai-dumper.
Yeah I thought it was some sort of time thing, like it just took the download button ages to appear but I'm not really sure what it is. At this point I'm pretty much confused on what it could possibly be.
I'm still getting it for my private bot so it's not only the popular ones. Strange.
(EDIT: when I say getting it I mean I'm still getting the issue i.e. no download links show up)
When you mentioned private bots I checked mine as well and I can't see the download link in saved chats either which has confused me even more so than before. It might be the script needs an update because something might've change on character ai's side? Of course I have no idea what I'm talking about and just making educated guesses at this point. We'll know what the problem could be if/when the creator looks at the problem themself. Here's to hoping I guess.
from characterai-dumper.
The site no longer sends the entire chat history. The log has been split into pages. That's why the total message count is gone as well.
The saved chats page sends you the latest two messages, and when you flip back to the full chat, you're sent the latest sixteen messages. Scrolling up will send you prior pages of ten messages each, one page at a time. Unless there's still a way to access the entire history in full, if it still exists in that form, this script in its current form is dead. Without that, the only other option is to make a Discord-style script that automatically scrolls up and appends each page to a file, which would still be difficult as the messages that make up each batch of ten would change based on the total message count.
from characterai-dumper.
Bummer. Could you maybe change the script so that it adds a download link to each chat (from the Chat page)? You can still access the entire chat from there. (Although I have noticed that there is a pause as you scroll up as it fetches the previous block, so maybe that's kept server side and you're unable to get it.)
from characterai-dumper.
Damn, I guess the most I'll have to use it for now is just pulling definitions and such from the bots. I guess I can deal with loosing the messages. It would be nice if it were possible to change the script so it would be able to function the same way it did before.
from characterai-dumper.
Yeah, as said above it looks like CAI finally started trying to be more efficient with their serialization and now they only send small chunks of chat history, so simply intercepting the HTTP request to the histories endpoint doesn't work as expected anymore.
Unfortunately this userscript is not really a priority compared to other things I'm working on at the moment so I won't be investigating further for the time being, but I'm open to reviewing any PRs addressing this.
from characterai-dumper.
Couldn't you grab whatever HTML is visible? I just tried this tiny bit of code on the console (after scrolling up so the whole conversation is loaded), and that seems to work. At least for the length of the conversation I have.
var c = document.getElementsByClassName("infinite-scroll-component")[0];
var dump = Array.from(c.getElementsByClassName("msg"))
.flatMap((d) => Array.from(d.getElementsByTagName("p"))
.reverse()
.map((p) => "<p><strong>" + (d.className === "msg char-msg" ? "{char}" : "{user}") + "</strong>" + p.innerHTML + "</p>"))
.reverse()
.join("\n");
console.log(dump);
from characterai-dumper.
probably gotta find ways to tweak it through console I guess...
from characterai-dumper.
Will this ever be updated?
from characterai-dumper.
Will this ever be updated?
Likely not. My time is taken up by other projects at the moment, and apparently CAI Tools has already fixed their extension to allow download of CAI chats just like this userscript - so I think using that makes more sense than trying to maintain this.
Will update the README to note the project's current status to avoid confusion.
from characterai-dumper.
Related Issues (9)
- Download link not appearing HOT 12
- Download Link not Appearing on Long Chat HOT 5
- Username not redacted if you wrote it in your own message
- Incorrect characterIdentifier when dumping chat history
- Canβt find variable: s error on iOS HOT 13
- Any idea how one might export a room conversation? HOT 1
- Any way export only the messages?
- Download button not showing up.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from characterai-dumper.