Query for showing usernames:
https://www.fiverr.com/categories/lifestyle/astrology-psychics?source=drop_down_filters&ref=seller_language%3Aen%2Cde%2Cfr%2Cit%2Cnl%7Cseller_location%3AGB%2CCA%2CUS%2CAU%2CAT%2CBY%2CBR%2CCR%2CHR%2CCZ%2CCY%2CDK%2CFI%2CFR%2CDE%2CGR%2CHU%2CIE%2CIL%2CJP%2CLU%2CNL%2CNZ%2CNO
https://www.fiverr.com/categories/lifestyle/astrology-psychics?source=pagination&filter=rating&page=2&offset=-60&limit=448&ref=seller_language%3Aen%2Cde%2Cfr%2Cit%2Cnl%7Cseller_location%3AGB%2CCA%2CUS%2CAU%2CAT%2CBY%2CBR%2CCR%2CHR%2CCZ%2CCY%2CDK%2CFI%2CFR%2CDE%2CGR%2CHU%2CIE%2CIL%2CJP%2CLU%2CNL%2CNZ%2CNO&ref_ctx_id=3133dec3222649e4b800d850434f33c5&showprofessioncampaign=false
Extracting usernames into single dimensional array:
const links = document.querySelectorAll('a[href^="/"]');
const extractedValues = Array.from(links).map(link => {
const match = link.getAttribute('href').match(/\/([a-zA-Z0-9_]+)\?/);
return match ? match[1].replace('_', '-') : null;
}).filter(Boolean);
console.log(extractedValues);
Extracting usernames into single dimensional array:
const users = [
"theblessingman", "divinedew", "psychic-mia_isr", "psychic-mia_isr", "rchristoph",
"willowmooncoven", "hopemkhumba", "rickymathieson", "psychic-mia_isr", "girltalktarot",
"goldenlily", "psychic-mia_isr", "dr-psychic", "palmreader37", "laurazibalese",
"empathicmel", "palmreader37", "mar-kie", "witchmagik", "maedan", "reikimastersami",
"derrick-solano", "theakashic", "rchristoph", "madam-crawley", "girltalktarot",
"healingenergies", "thequeenofcups", "rickymathieson", "dr-psychic", "empathicmel",
"reikimastersami", "loveandmayhem", "sarahwooldridge", "derrick-solano", "rickymathieson",
"infinite08", "sarahp44", "reikimastersami", "streamingreiki", "reikimastersami",
"realizeoneself", "dr-psychic", "katherineohmerg", "unexpected2000", "derrick-solano",
"readingminds", "laurazibalese", "hopemkhumba", "rickymathieson", "laurazibalese",
"moygoqu", "houseofspells", "stardust-sigils", "rchristoph", "rchristoph", "cc-coach",
"psychic-mia_isr", "lunamoon98", "debbieduncan2", "psychic-mia_isr", "rickymathieson",
"valerieprays", "psychic-mia_isr", "dr-psychic", "moygoqu", "destination0109",
"bloodwinetarot", "psychic-mia_isr", "psychic-mia_isr", "theakashic", "looktospirit",
"sarahwooldridge", "laurazibalese", "stardust-sigils", "vanessatarot", "destination0109",
"mojovibes", "skimmerlit", "divinelove14400"
];
async function sendMessage(username) {
const response = await fetch("https://www.fiverr.com/inbox/conversations/messages", {
"headers": {
"accept": "application/json",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/json",
"fvrr-page-ctx-id": "170bd847d95746e380b68e047439e208",
"sec-ch-ua": '"Not)A;Brand";v="24", "Chromium";v="116"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-csrf-token": "1744257310.IPjPovuVM+1/IE6ci6y/zMTc/uNvI1Ad8yT74URtSo8=",
"x-requested-with": "XMLHttpRequest"
},
"referrer": "https://www.fiverr.com/" + username,
"referrerPolicy": "strict-origin-when-cross-origin",
"body": JSON.stringify({
"participants_usernames": [username],
"content_type": "text",
"content_blocks": [
{
"type": "text",
"plain_text": `Hey ${username}, how much would you charge to create a background effect like https://shorturl.at/3DBqe (navigate to the home page) and apply it to the background of https://shorturl.at/Y9fzf? Just looking for a quick ballpark estimate. Thanks!`
}
],
"pending_attachment_ids": []
}),
"method": "POST",
"mode": "cors",
"credentials": "include"
});
return response;
}
async function sendMessagesSequentially() {
for (const user of users) {
console.log(`Sending message to: ${user}`);
await sendMessage(user);
await new Promise(resolve => setTimeout(resolve, 5000)); // Wait 5 seconds
}
console.log("All messages sent.");
}
sendMessagesSequentially();
Script for sending bulk messages to usernames:
const users = ["mayaelizabeth20"]; // Array of usernames
users.forEach(username => {
fetch("https://www.fiverr.com/inbox/conversations/messages", {
"headers": {
"accept": "application/json",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/json",
"fvrr-page-ctx-id": "15c0fc76fafc4373a54d805b365323f7",
"sec-ch-ua": "\"Not)A;Brand\";v=\"24\", \"Chromium\";v=\"116\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-csrf-token": "1744247814.1pYG8TkGFrWMUdPVi3jCU5bLMa+AqRV7oJW0RbZmPYc=",
"x-requested-with": "XMLHttpRequest"
},
"referrer": "https://www.fiverr.com/thechrislynch/create-a-dynamic-user-generate-content-ugc-video-for-tiktok-ig-shorts?context_referrer=tailored_homepage_perseus&source=gigs_cold_start_by_sc&ref_ctx_id=edfa63a72e8b4f18a6bd8e3892e53b02&context=recommendation&pckg_id=1&pos=4&context_alg=top_rated_v2&seller_online=true&imp_id=fa4c1d1b-64da-4fbe-ac09-e03500662730",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": JSON.stringify({
"participants_usernames": [username], // Dynamic username
"content_type": "text",
"content_blocks": [
{
"type": "custom",
"custom_type": "gig_related",
"related_object_id": 363609376
},
{
"type": "text",
"plain_text": "Hey, how much would you charge to create a background effect like https://shorturl.at/3DBqe (navigate to the home page) and apply it to the background of https://shorturl.at/Y9fzf? Just looking for a quick ballpark estimate. Thanks!"
}
],
"pending_attachment_ids": []
}),
"method": "POST",
"mode": "cors",
"credentials": "include"
})
.then(response => response.json())
.then(data => console.log(`Message sent to ${username}:`, data))
.catch(error => console.error(`Error sending message to ${username}:`, error));
});