Skip to content

Instantly share code, notes, and snippets.

@Klemek
Last active January 4, 2020 09:45
Show Gist options
  • Save Klemek/ddfaa19ece349d05db22320848f0811b to your computer and use it in GitHub Desktop.
Save Klemek/ddfaa19ece349d05db22320848f0811b to your computer and use it in GitHub Desktop.
Export Manga Rock Favorite List
// Go to https://mangarock.com/account/favorite
// Expand manga list to the bottom
// Type F12 and paste the following in the "console" tab
// Now you have your favorite list in CSV into your clipboard
var t = document.createElement("textarea");
t.textContent = 'Author;Title;\n'+$x('//*[@id="all"]/div/div[2]/div').map(n => '"'+n.childNodes[2].textContent + '";"' + n.childNodes[1].childNodes[0].textContent+'";').join('\n');
document.body.appendChild(t);
t.select();
document.execCommand("copy");
@Nerothos
Copy link

Nerothos commented Jan 3, 2020

Thanks for the script !
Unfortunately, the website only show 204 of my 470 favorited manga on the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment