Last active
July 20, 2024 21:40
-
-
Save VillainsRule/74a031319a8c03a40f655d3f2e1850a6 to your computer and use it in GitHub Desktop.
scrapes blacket usernames off the bazaar
This file contains 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
this scrapes a list of blacket usernames off the bazaar. | |
this requires the axios package and a new-ish node.js version. | |
don't forget to fill out 'username' and 'password'. | |
a demo list of usernames is provided. | |
if you don't see the script, scroll past all the usernames. |
This file contains 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
// a prescraped list of users (demo) | |
Bean_Stewart | |
MATH | |
BagelPenguin | |
pwn | |
rohankothari | |
Studio | |
Trixter | |
DailyB1zarr3s | |
Velocity9 | |
whytho | |
mike | |
BLOCKITJAMES | |
starboy1234 | |
Frank420 | |
Francis | |
Jeh12347 | |
Zari | |
JesusSaves | |
yoyo | |
Jackyschoch | |
GOLIRA | |
IMCRACKED2 | |
AithenZoura124 | |
Truuheart | |
divvy | |
duchung | |
Darf | |
Jessican | |
AlexThe1 | |
hystonix | |
SHAWNTHESHEEP | |
troon_cate | |
misterflower | |
BIooket | |
phex | |
BG209 | |
grays0n | |
Trebo411 | |
RONALDOISTHEGOAT | |
BlacketSupreme | |
0123456789 | |
saggy | |
Agent-Twix | |
MineDimensions | |
crazyRad | |
Blacket_chroma | |
Ghoul | |
blov | |
Crazyking1987 | |
LuckyJr | |
RubberDuck | |
Gojo | |
arki | |
Spectral | |
Pigboyy | |
duckyboy27 | |
crLmsin | |
AceOfBlaze | |
LeBron | |
thatguy | |
Hawkmrg | |
Dapper_David141 | |
Horrid | |
Jaxic | |
Davidtian | |
hfjikid | |
Pizza_PIZZA | |
CHMLstudent | |
BLACKET11 | |
TinyNotDoc | |
Lim_C | |
Imherefornothing | |
radiantTestting | |
Nini | |
Messiah23 | |
Xeno9876 | |
snakebro13579 | |
GreenGod10900 | |
whitepast | |
LittleDoxy | |
XXXX | |
NaterxTater | |
VOID65 | |
Phraeytow11 | |
tonysosmart | |
Paknak | |
TheCringeGamer12 | |
KindlyBlacket_13 | |
goofy | |
GYGLYGug | |
Neon_Gamer | |
ALEJITO747 | |
Youtheman | |
OPENTHENOOR | |
Duckling | |
Oddjob | |
TanTanAppleMan | |
ImGood233636 | |
JesuswithAG | |
0maarc | |
MaximosCreature | |
spookypookie | |
Vertex2024 | |
_ghost_ | |
shirleylol | |
AEAEAEAE | |
DizzyWiggerman | |
Neymar_JR | |
McDude | |
Minhbro | |
savage | |
-- | |
kemsern | |
bobbers4345 | |
whythatsomeguy | |
Gametester49 | |
Hiiamthatguy | |
PEnglish | |
thenextone | |
Smoothie | |
yaboyeats | |
ashy | |
urmomiscool | |
_ | |
spring69 | |
19 | |
combat | |
lonely | |
jediTIme | |
Hache | |
RMPBiscool | |
flynn200112 | |
Cookiecrumble | |
eraser | |
Golden | |
LCS | |
3Drums | |
sub5warrior | |
ojimatias | |
KrySix | |
eluv | |
jordanizcool | |
nivel100otaku | |
Xavs12 | |
Vinf | |
stickyglue | |
smartyalec | |
soph | |
Ratora | |
CSIS | |
r1ng3 | |
pog | |
himothi1407 | |
Playboi_Blitz | |
JakeGamingYT | |
Broskibob | |
InsaneKnight56 | |
sokillz | |
Benremp | |
Thepaper | |
PlazmaX | |
Chase | |
Cam | |
GOODERPasta | |
Gigaton | |
yuta | |
Mewon | |
42KGOLDEN | |
Lluquito10 | |
Blacketacc11 | |
Swedishkidjrjr | |
Tha_Kingin | |
xxlevixx | |
Cerulean | |
BIGHOPE | |
TheguyYT | |
ItsPorku | |
thegoldsight12 | |
Paris12 | |
asdf12340987 | |
Vivi | |
benferr28 | |
gamer12345 | |
BLIZZARDBOY | |
Luke_Horn | |
The_guy | |
ellis | |
meme | |
FinnishKid | |
wetblabla | |
-A | |
7zz | |
gapple | |
NeilArmstrong11 | |
AJR | |
JA21 | |
WrongUseOfTime | |
dddd | |
Moneythe100 | |
Kipley | |
DiegoistheYEET | |
Spooky_Me | |
Sex | |
FlyingBirb | |
RIC | |
Pirate | |
Crs37100 | |
mr_miscellaneous | |
SuhZak | |
Lionkingliter | |
Jase | |
jack-attack12 | |
TBRO2510 | |
-Snowzy- | |
Xman | |
King4 | |
UnmuteMeInChat | |
Biguns2144 | |
Notyeeterpro | |
dream1 | |
Fregley | |
Jammal | |
Rodrick | |
BlooketGamer123E | |
WuTiSgRaSs | |
humbledood389 | |
BasicGamerGuy | |
GauntCellar2235 | |
UWU_OBUNGA | |
U2 | |
ArshPlayz_YT | |
Buckaroo | |
notAI | |
hiwsp | |
Axolotl_55 | |
Jeremiah | |
Dorito | |
TikiTorch | |
GalHer | |
BlookCollector | |
BlooketBom | |
teshylu | |
Beast | |
PizzaGamingYT | |
JialaiShe | |
SaraBear | |
WompWomp | |
BlacketPlayer22 | |
iHunter | |
C_MAC1212 | |
SirBlooks12 | |
TIny_ABC | |
Ay | |
amongus23 | |
Electron | |
GoofyBatz | |
Pay_the_price31 | |
Cheeto_gamer235 | |
CatCHI | |
Allonme | |
XXmasonXX629 | |
IRONMONSTER1234 | |
Bluay | |
qwe99 | |
Sports | |
snider333 | |
elson | |
Brooklin | |
Ty1er | |
Alicialoljr | |
AVERYISTHEBEST | |
Andrewyxy | |
Keepcalm | |
AVS | |
ABarakat2 | |
ae | |
DinoHEHE123245 | |
bob99 | |
Cupidd | |
chickenmuncher32 | |
anana | |
T_CorpInventor | |
voltixxblacket | |
colindagamer | |
Tobotisnotarobo | |
ZonalVeil665532 | |
NEX44 | |
VoidPlaysThisYT | |
Giganchad | |
Bingbop12317 | |
aprocuber | |
TheGamer34 | |
lev | |
Buckets123 | |
Mav99 | |
Viktor817 | |
SumFlamey0 | |
IMPOSTER1256 | |
lozlo22 | |
paper | |
Cuteheart12345 | |
Evanrs | |
LEGIT | |
HIGUYYS | |
FreshestCheese | |
1458Jake | |
Poke-club | |
-Reconnecting- | |
heg | |
lifecouldbenot | |
ChickFillA | |
PLAS | |
KKarterX | |
weee | |
NobodyBoy | |
Terryzza | |
sussymongusjcg | |
LF | |
GoldenDog2334 | |
INotCheese | |
hockeygod14 | |
EXLord | |
Fishsticks | |
AM0HIM | |
Coley86 | |
G0BuCS | |
XoticFloppa | |
Jmax | |
BloopNash | |
whatsupgooofyy | |
noobpro12554 | |
bestsister | |
Coy | |
CN | |
ForBigGuys34 | |
DinoTaco07 | |
Blackenedops123 | |
speshkeshi | |
BlacketIsBack | |
viper | |
hithere | |
Ethanfm5678 | |
Aleciww | |
www123456789 | |
holaorejas | |
Minecraft1 | |
Hellfire | |
BlacketLove110 | |
minnissleepy | |
Eclipse1 | |
Jupiter | |
PlayerNO_7 | |
DoctorStrange | |
FunnyYukonMan | |
khagkog | |
Joana_29052 | |
GOOGS | |
Alejmaquina09 | |
Niceeeee | |
Jakeiscool | |
iLosAngeles | |
oompaloompa3 | |
yawl3 | |
TheTopGBroski | |
tinnychan001 | |
MasterJGaming | |
wardenbosscool | |
dragon63 | |
leguepard | |
antiblooked |
This file contains 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
import axios from 'axios'; | |
import fs from 'fs'; | |
let username = ''; | |
let password = ''; | |
let { data, headers: { 'set-cookie': token } } = await axios.post('https://blacket.org/worker/login', { username, password }); | |
if (data.error) { | |
console.log(`login threw error`, data); | |
process.exit(1); | |
}; | |
let { data: { blooks } } = await axios.get('https://blacket.org/data/index.json'); | |
if (!fs.existsSync('./users.txt')) fs.writeFileSync('./users.txt', ''); | |
let scraped = JSON.parse(fs.readFileSync('./users.txt', 'utf8')); | |
(async () => { | |
for (let i = 0; i < blooks.length; i++) { | |
let bazaar = await axios.get('https://blacket.org/worker/bazaar?item=' + blooks[i], { | |
headers: { | |
Cookie: token[0].split(';')[0] | |
} | |
}).catch(() => console.log('Error fetching', blooks[i])); | |
if (!bazaar.data.bazaar) continue; | |
bazaar.data.bazaar.forEach((listing) => { | |
if (!scraped.includes(listing.seller)) scraped.push(listing.seller); | |
}); | |
console.log(`Scraped letter ${blooks[i]}. New list length: ${scraped.length}`); | |
fs.writeFileSync('users.txt', scraped.join('\n')); | |
await new Promise(resolve => setTimeout(resolve, 500)); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment