Last active
February 9, 2023 07:45
-
-
Save aoirint/a3fa973d9ef07b74b68afa6797174355 to your computer and use it in GitHub Desktop.
DAM★とも 精密採点DX用 TSV化
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
// DAM★とも 精密採点DX | |
var s = ''; | |
// Run in every page (Browser developer console) | |
// 採点日時 曲リクエストID 曲名 アーティスト名 点数 曲URL 音程 安定性 抑揚 こぶし しゃくり フォール ロングトーンのうまさ ビブラートのうまさ ビブラートタイプ ビブラートタイプURL ビブラート合計秒数 | |
s += jQuery('#DamHistoryMarkingDxListResult') | |
.find('table') | |
.map(function(i,e){ | |
var rs = jQuery(e).find('tr'); | |
var reqUrlString = jQuery(rs[1]).find('td').find('a').attr('href'); | |
var reqUrl = new URL(reqUrlString, location.href); | |
var cloneRs1Td = jQuery(rs[1]).find('td').clone(); | |
cloneRs1Td.find('a').remove(); | |
return [ | |
jQuery(rs[0]).find('td').text(), | |
reqUrl.searchParams.get('requestNo'), | |
jQuery(rs[1]).find('td').find('a').text(), | |
cloneRs1Td.text().slice(2), | |
jQuery(rs[2]).find('td').text().slice(0,-1), // 点 | |
reqUrl.toString(), | |
jQuery(rs[3]).find('td').text().slice(0,-1), // % | |
jQuery(rs[4]).find('td').text().slice(0,-6), // / 100 | |
jQuery(rs[5]).find('td').text().slice(0,-5), // / 10 | |
jQuery(rs[6]).find('td').text().slice(0,-1), // 回 | |
jQuery(rs[7]).find('td').text().slice(0,-1), // 回 | |
jQuery(rs[8]).find('td').text().slice(0,-1), // 回 | |
jQuery(rs[9]).find('td').text().slice(0,-5), // / 10 | |
jQuery(rs[10]).find('td').text().slice(0,-5), // / 10 | |
jQuery(rs[11]).find('td').text(), | |
new URL(jQuery(rs[11]).find('img').attr('href'), location.href).toString(), | |
jQuery(rs[12]).find('td').text().slice(0,-1), // 秒 | |
].join('\t')} | |
).toArray().join('\n') + '\n'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment