Last active
January 4, 2020 09:45
-
-
Save Klemek/ddfaa19ece349d05db22320848f0811b to your computer and use it in GitHub Desktop.
Export Manga Rock Favorite List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the script !
Unfortunately, the website only show 204 of my 470 favorited manga on the app.