Skip to content

Instantly share code, notes, and snippets.

@aoirint
Created February 21, 2020 13:29
Show Gist options
  • Save aoirint/d6982d17707d361c37a763c3aea8c5bf to your computer and use it in GitHub Desktop.
Save aoirint/d6982d17707d361c37a763c3aea8c5bf to your computer and use it in GitHub Desktop.
DAM DAM-tomo "Seimitsu Saiten DX-G" browser-side backup script for Excel/Spreadsheet
var s = '';
// Run in every page (Browser developer console)
// 採点日時 曲リクエストID 曲名 アーティスト名 キー 点数 採点ID URL
s += jQuery('#DamHistoryMarkingDxGListResult').find('table').map(function(i,e){var cs=jQuery(e).find('td'); var u=jQuery(cs[1]).find('a').attr('href'); return [ jQuery(cs[0]).text(), u.substr(u.lastIndexOf('=')+1), jQuery(cs[1]).text(), jQuery(cs[2]).text(), jQuery(cs[4]).text(), jQuery(cs[3]).text().slice(0,-1), jQuery(cs[5]).find('a').attr('href'), 'https://www.clubdam.com'+u ].join('\t')}).toArray().join('\n') + '\n';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment