Dynamisch ladende Seite als ganzes in html abspeichern?

Hallo zusammen!

Ich habe folgende Frage:

Gibt es eine Möglichkeit (Funktion in Javascript, extra Add on o.Ä.) eine dynamisch ladende Seite abzuspeichern?

Konkret meine ich z.B. bei Telegram-Web ist es so, dass niemals alle Nachrichten gleichzeitig geladen werden, sondern die laden immer dann, wenn man hochscrollt und ich möchte gerne allgemein (und eben speziell bei Telegram) irgendeine Funktion haben, wie ich mir davon dann auch ein Snapshot (also die Seite als html) abspeichern kann.

Ich hatte es schon mithilfe von perplexity versucht, allerdings hat das nicht geklappt, da er mir nur ein Skript ausgegeben hat, dass die Seite einmal durchscollt und dann als html speichert, allerdings werden dann wieder frühere Nachrichten nicht mitgespeichert.

Danke im Voraus!

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
6 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
JanaL161
8 months ago

There’s nothing like that. I think you can either query the API and save the messages as text, or scroll through with one MutationObeserver or so, store all incoming messages and then externally assemble the HTML.

I don’t know what the latter is doing. For now, there are certainly tools, but I have no experience and you need to note that this is probably against the terms of service.

JanaL161
8 months ago
Reply to  person498

A mutation observer only outputs which changes are made in the DOM (insert / remove HTML snippets, changes in content, etc.).

Without its own code it is not possible to:/

JanaL161
8 months ago

To do this, you would have to master the basics of Javascript as well as know something with browsers / dynamic websites and already have a concept. Learning everything in a weekend is more difficult:/

I would either simply use the API anyway (so quickly you don’t get blocked); if necessary with another account and another IP. Or order someone who can do that.

Otherwise, if it would also be okay to make a video / screenshots in the previous scroll.