Skip to content

Instantly share code, notes, and snippets.

View Frenzycore's full-sized avatar
💭
I know what you're looking for...

Chizuru Frenzycore

💭
I know what you're looking for...
View GitHub Profile
@Frenzycore
Frenzycore / Diamond Chase
Created January 13, 2026 13:16
My First MicroStudio Game Project
init = function()
player = object
x = 0
y = 0
speed = 2
width = 50
height = 50
sprite = "ghost"
end
@Frenzycore
Frenzycore / crawling.py
Created December 27, 2025 06:00
Crawling a Website for URLs
import requests
from bs4 import BeautifulSoup
def crawl_website(url):
try:
response = requests.get(url)
response.raise_for_status()
soup = BeautifulSoup(response.text, 'html.parser')
urls = [a['href'] for a in soup.find_all('a', href=True)]
for link in urls:

For ya, from now i'll not going to share public gist most of my scraper,,, ty.

import axios from "axios";
import * as cheerio from "cheerio";
async function scrapeModyolo() {
try {
const { data: html } = await axios.get("https://modyolo.com/", {
headers: {
"User-Agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
},
import axios from "axios";
import * as cheerio from "cheerio";
async function scrapeFuDomainsWhoIs(url = "example.com") {
try {
let rawUrl = url.trim().replace(/^https?:\/\//, '').replace(/\/.*$/, '');
const { data: html } = await axios.get('https://fudomains.com/whois/' + rawUrl, {
headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' }
});
import axios from "axios";
import * as cheerio from "cheerio";
async function example() {
try {
const { data: html } = await axios.get('https://www.example.com/', {
headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36' }
});
const $ = cheerio.load(html);
import axios from "axios";
import * as cheerio from "cheerio";
async function scrapeGistGithubUserProfile(profile) {
try {
let username = profile || "Frenzycore";
const { data: html } = await axios.get(
"https://gist.github.com/" + encodeURIComponent(username),
{
headers: {
import axios from "axios";
import * as cheerio from "cheerio";
async function scrapeWikipediaRandom() {
const url = 'https://wikipedia.org/wiki/Special:Random';
try {
const response = await axios.get(url, {
headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' }
});
import axios from "axios";
import * as cheerio from "cheerio";
async function scrapeQuotesToScrape() {
let currentUrl = "https://quotes.toscrape.com/";
const allQuotes = [];
let page = 1;
try {
while (currentUrl) {
@Frenzycore
Frenzycore / bing.js
Created December 23, 2025 03:50
scraper for site https://www.bing.com
import axios from "axios";
import * as cheerio from "cheerio";
async function scrapeBingSearch(q) {
let query = q || "Hello, World!";
const url = 'https://www.bing.com/search?q=' + encodeURIComponent(query);
try {
const { data: html } = await axios.get(url, {
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',