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) {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Xnuvers007
Xnuvers007 / Main.py
Created May 29, 2025 16:32
food ordering
import customtkinter as ctk
import tkinter as tk
from tkinter import messagebox
from PIL import Image, ImageTk
import json
import os
from datetime import datetime, timedelta
import requests
from io import BytesIO
import hashlib
@Xnuvers007
Xnuvers007 / main.py
Created May 24, 2025 19:19
To Do List
import tkinter as tk
from tkinter import messagebox
username_entry = None
password_entry = None
login_button = None
login_status_text = ""
widgets = {}
import time
from threading import Thread, Lock
import sys
lock = Lock()
BLUE = '\033[94m'
RESET = '\033[0m'
def animate_text(text, delay=0.1, color_info=None):
with lock:
@Xnuvers007
Xnuvers007 / README.md
Last active March 6, 2025 09:37
Ini adalah Scraping website drama korea untuk doramaindo.ai harap digunakan dengan bijak :)

Doramaindo Web Scraper

Created by Xnuvers007

Pendahuluan

Doramaindo Web Scraper adalah aplikasi yang dirancang untuk mengekstrak informasi tentang drama dari situs doramaindo.ai dan midori.doramaindo.ai. Dalam proyek ini, beberapa langkah keamanan telah diterapkan untuk melindungi data yang dikumpulkan, serta untuk memastikan bahwa kode ini aman digunakan. Berikut adalah penjelasan mengenai langkah-langkah keamanan yang diterapkan.

Keamanan dalam Aplikasi

1. Pencegahan Serangan Cross-Site Scripting (XSS)

Untuk menghindari serangan XSS, kode ini memanfaatkan fungsi html.escape() untuk membersihkan URL yang dimasukkan oleh pengguna sebelum diproses lebih lanjut. Ini mengurangi risiko memasukkan karakter berbahaya yang dapat disalahgunakan oleh penyerang untuk menyisipkan skrip berbahaya.

import requests
from bs4 import BeautifulSoup
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/mlbb', methods=['GET'])
def get_upcoming_skins():
url = "https://mobile-legends.fandom.com/wiki/Upcoming_content"
headers = {
import requests
from bs4 import BeautifulSoup
cookies = {
'wordpress_test_cookie': 'WP+Cookie+check',
'wp-settings-1': 'edit_element_vcUIPanelWidth%3D1021%26ampampampampedit_element_vcUIPanelLeft%3D14px%26ampampampampedit_element_vcUIPanelTop%3D59px%26ampampampampeditor%3Dtinymce%26ampampampamplibraryContent%3Dbrowse%26ampampampampimgsize%3Dfull%26ampamplibraryContent%3Dbrowse%26ampampmfold%3Do%26ampampedit_element_vcUIPanelLeft%3D67px%26ampampedit_element_vcUIPanelTop%3D136px%26ampampposts_list_mode%3Dlist%26uploader%3D1%26editor%3Dtinymce%26edit_element_vcUIPanelLeft%3D230px%26edit_element_vcUIPanelTop%3D137px%26libraryContent%3Dbrowse%26template_window_vcUIPanelWidth%3D1212%26template_window_vcUIPanelLeft%3D142px%26template_window_vcUIPanelTop%3D74px%26mfold%3Do',
'wp-settings-time-1': '1719133983',
'PHPSESSID': 'cc28vdiqhvlek3jv49hib7smd2',
'sc_is_visitor_unique': 'rx12856607.1728455295.7B514FD2EE304FEE97F9BC36B4D3A245.2.2.2.2.2.2.2.2.1',
'vCentminmod': '8735cc5bae5801c849211396cc
@Xnuvers007
Xnuvers007 / script.sh
Last active September 10, 2024 11:14
automation yml for github action to auto commit
#!/bin/bash
REPO_DIR="$(pwd)"
LOG_DIR="$REPO_DIR/logs"
LOG_FILE="$LOG_DIR/log.md"
if [ ! -d "$LOG_DIR" ]; then
mkdir -p "$LOG_DIR"
echo "Logs directory created."
else
@Xnuvers007
Xnuvers007 / animelist.py
Last active August 5, 2024 21:58
scrape anime list from https://nimegami.id/
import requests
from bs4 import BeautifulSoup
import time
headers = {
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
}
def fetch_page(url):