View Single Post
Old 08-13-2021, 03:16 PM   #3
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,955
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
They are not going to revert the change. Obviously they redesign without regard to how convenient it is to web scrape. Actually breaking it into pages (instead of infinite scroll) makes it a little easier IMO.

What they should provide is a built-in export feature. And fix the functional issues, e.g., getting more accurate accounting of which books are on which devices.

Just as obviously, the information is still there, and so it is possible to extract it. Some basic JavaScript can do this using the Console. For example, to get all of the Titles on a page, you can:
Quote:
titleText = “”
titles = document.getElementsByClassName(“digital_entity_ti tle”)
for (n in titles) {
titleText += titles[n].textContent + “\n”
}
copy(titleText)
This simple example will copy titles to the clipboard. If you use class name “digital_entity_details” you will get a string with all of the information concatenated together, but easily split up by a search and replace with an editor.

I have not yet worked out how to extend this and get the details for all pages, at least in the browser console environment.

Last edited by tomsem; 08-13-2021 at 06:42 PM.
tomsem is offline   Reply With Quote