Audible export library markdown
This file contains 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
"|Book Cover|URL|\n|:-----|----|" + _.map(_.sortBy($('.adbl-lib-content tbody tr td[name=titleInfo] a[name=tdTitle]:visible'), function(elem) { | |
return elem.innerText | |
}), function(elem) { | |
img = $(elem).parent().siblings("td[name='productCover']").find("img").attr("src") | |
return "|" + [''].join('') + "|" + [elem.innerText, '](', elem.href, ')'].join('') + "|"; | |
}).join('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment