feat: implement FastAPI service with device-locked automation for Shopee commissions and Facebook commenting

This commit is contained in:
Victor Phan
2026-07-23 12:22:15 +07:00
parent 3d00741e7b
commit 2bd6cfef55
1558 changed files with 389 additions and 191545 deletions
+15
View File
@@ -0,0 +1,15 @@
let groups = [];
let links = document.querySelectorAll('a[href*="/groups/"]');
links.forEach(a => {
let url = a.href.split('?')[0];
let name = a.innerText.trim();
// Lọc ra các nhóm hợp lệ (có tên và đúng định dạng)
if(name && !name.includes("Joined") && url.includes("facebook.com/groups/")) {
let groupId = url.split('/groups/')[1].replace('/', '');
groups.push(name + "\t" + groupId);
}
});
// Lọc trùng lặp và in ra màn hình
let uniqueGroups = [...new Set(groups)];
console.log("TÊN NHÓM \t GROUP ID/LINK");
console.log(uniqueGroups.join('\n'));