Jump to content

Downloading your posts

Recommended Posts

On 10/11/2020 at 11:24 AM, null said:

If you want to download a whole thread into 1 page, go to the first page of the thread and run the following code from the console ...

let page=2; 
let total=$(".ipsPagination_pageJump")[0].textContent.trim().replace(/.*of (.*)/, '$1'); 
console.log("Will download " + total + " pages into 1"); 
while (page <= total) {
    let href = window.location.href + "page/" + page;
    await new Promise(r => setTimeout(r, 1000));
    let html = await (await fetch(href)).text();
    let parser = new DOMParser();
    let doc = parser.parseFromString(html, "text/html");  
    let pageContent = $("#elPostFeed", doc);

 I hope it works! Let me know if you have any problems.

That worked, thank you!

Share this post

Link to post
Share on other sites

Not really a about downloading my own posts as such but I have just had a pang if sadness that all of this will be gone :( EB is a wealth of knowledge in so many things and it is all just going to disappear. 

I often use this place as a dictionary of sorts. I will come here and search, terms, words, medications, products, reviews.. anything you can think of really. And there are normally such varied views that you can really gather the whole picture. 

Yes, I will miss al the interaction but I will more so miss the history. 

  • Like 7

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...