-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import old votes #1
Comments
Old steam votes imported |
@Top-Cat, just wanted to make sure: have all votes been imported properly? Page hasn't been updated since August 2nd, but it still shows higher numbers compared to https://beatsaver.com/mappers
So quite a few votes haven't been imported/counted. If you need the latest BeatSaver dump by andruzzzhka (from Aug 2nd, now deleted), here it is: beatSaverScrappedData.zip |
All the votes that are verifiable have been imported. No other numbers are going to be added. |
My bad, I forgot I had some hardcoded logic there that added votes from "map pack" usernames to specific uploaders. Codeif (username === 'fridaynightfunkinpack') {
switch (song.key) {
case '19539': username = 'novarulz -_-'; break;
case '1953a': username = 'nolan121405'; break;
case '1953b': username = 'oddloop'; break;
case '1953c': username = 'mystikmol'; break;
case '1953d': username = 'kikaeaeon'; break;
case '1953e': username = 'kikaeaeon'; break;
case '19540': username = 'kikaeaeon'; break;
case '19541': username = 'oddloop'; break;
case '19542': username = 'oddloop'; break;
case '19543': username = 'oddloop'; break;
case '19548': username = 'that_narwhal'; break;
case '19549': username = 'that_narwhal'; break;
case '1954a': username = 'that_narwhal'; break;
case '1954c': username = 'nomuffn'; break;
case '1954d': username = 'nomuffn'; break;
case '1954e': username = 'nolan121405'; break;
case '1954f': username = 'skeary'; break;
case '19550': username = 'plusonerabbit'; break;
case '19551': username = 'tm0d'; break;
case '19552': username = 'lethrial'; break;
case '19554': username = 'lethrial'; break;
case '19555': username = 'lethrial'; break;
}
}
if (username === 'fallguyspack') {
switch (song.key) {
case 'e0a9': username = 'nomuffn'; break;
case 'e0ab': username = 'thelonewolvez'; break;
case 'e0ac': username = 'connorjc'; break;
case 'e0ad': username = 'that_narwhal'; break;
case 'e0ae': username = 'bytrius'; break;
case 'e0b0': username = 'lethrial'; break;
}
}
if (username === 'anniversaryteam') {
switch (song.key) {
case '612e': username = 'styngme'; break;
case '612d': username = 'heisenbergirl'; break;
case '612c': username = 'styngme'; break;
case '5d71': username = 'skylerwallace'; break;
case '5d3e': username = 'funrankable'; break;
case '5d2c': username = 'heisenbergirl'; break;
case '5d2b': username = 'skylerwallace'; break;
case '5d2a': username = 'styngme'; break;
case '5d29': username = 'styngme'; break;
case '5d28': username = 'styngme'; break;
case '5d27': username = 'styngme'; break;
case '5d26': username = 'skylerwallace'; break;
case '5d25': username = 'styngme'; break;
case '5d24': username = 'bennydabeast'; break;
case '5d23': username = 'styngme'; break;
case '4b2e': username = 'skylerwallace'; break;
case '4b20': username = 'fafurion'; break;
case '4b1f': username = 'heisenbergirl'; break;
case '4ad5': username = 'skylerwallace'; break;
case '4ad4': username = 'styngme'; break;
case '4a4c': username = 'ruckus'; break;
case '4a4b': username = 'skylerwallace'; break;
case '4a49': username = 'skylerwallace'; break;
case '4a48': username = 'greatyazer'; break;
case '4a47': username = 'downycat'; break;
case '4a45': username = 'bennydabeast'; break;
case '4a44': username = 'skylerwallace'; break;
case '4a43': username = 'styngme'; break;
case '4a42': username = 'joetastic'; break;
case '4a41': username = 'funrankable'; break;
case '4a3f': username = 'heisenbergirl'; break;
case '4a3e': username = 'styngme'; break;
case '4a3d': username = 'bennydabeast'; break;
case '4a3b': username = 'bennydabeast'; break;
case '4a3a': username = 'skylerwallace'; break;
case '4a39': username = 'styngme'; break;
case '4a37': username = 'joetastic'; break;
case '4a36': username = 'fafurion'; break;
case '4a35': username = 'joetastic'; break;
case '4a34': username = 'baxter395'; break;
case '4a33': username = 'skylerwallace'; break;
case '4a32': username = 'styngme'; break;
}
} Anyway, thanks for the explanation 👍 |
Pretty simple, populate votes table with old mongo data
The text was updated successfully, but these errors were encountered: