Skip to content

Instantly share code, notes, and snippets.

View Xnuvers007's full-sized avatar
💭
Lily Loly Zyaa ❤️

XnuxersXploitXen Xnuvers007

💭
Lily Loly Zyaa ❤️
View GitHub Profile
(async function scrapeAndDownloadFacebookProfiles() {
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
const scrollPauseTime = 3000; // Delay between scrolls
const scrollLimit = 50; // Safety limit for scrolling
let previousHeight = 0;
let scrollCount = 0;
console.log("🔃 Scrolling page...");
while (scrollCount < scrollLimit) {
@Xnuvers007
Xnuvers007 / Khsinspect.js
Last active October 17, 2025 11:06
Khs my unpam dan mentari
javascript:(function () {
function processPage() {
const groups = document.querySelectorAll('div[role="radiogroup"]');
let selected = 0;
groups.forEach(group => {
const label = Array.from(group.querySelectorAll('.q-radio__label'))
.find(lbl => {
const text = lbl.textContent.trim().toLowerCase();
return text === 'selalu' || text === 'sangat mampu';
#!/bin/bash
# === macOS/Linux Script ===
# Check if the virtual environment exists
if [ ! -d "venv" ]; then
echo "Creating virtual environment in the current directory..."
python3 -m venv venv
if [ $? -ne 0 ]; then
echo "Failed to create virtual environment."
exit 1
import time
import subprocess
import os
from sys import platform
try:
from watchdog.observers import Observer
from watchdog.events import PatternMatchingEventHandler
except (ModuleNotFoundError, ImportError):
print("watchdog module not found. Installing...")
@Xnuvers007
Xnuvers007 / main.py
Created October 14, 2025 03:43
Webtoon scraper
import os
from sys import platform
try:
import requests
from bs4 import BeautifulSoup
from PIL import Image
except (ModuleNotFoundError, ImportError):
if platform == "win32":
os.system("pip install requests bs4 Pillow")