Skip to content

Instantly share code, notes, and snippets.

@carlthuringer
Created May 14, 2012 01:19
Show Gist options
  • Save carlthuringer/2691146 to your computer and use it in GitHub Desktop.
Save carlthuringer/2691146 to your computer and use it in GitHub Desktop.
While looking at 'My Library' on Audible, get it to show all titles for all time, then use this script to store a list of normalized, deduped titles.
var titles = '';
$('a[name="tdTitle"]').each(function(el){var text = $(this).html(); text = text + "\n"; titles = titles + (text.search('Part') > 0 ? (text.search('Part 1') > 0 ? text : '') : text).replace(' (Unabridged)', '').replace(' Part 1', '')});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment