Skip to content

Instantly share code, notes, and snippets.

View rvaidun's full-sized avatar
🌵
i luv 2 write code

rvaidun

🌵
i luv 2 write code
View GitHub Profile
@rvaidun
rvaidun / icloud_shared_album_download.py
Created June 6, 2026 11:53
Download Photos from iCloud shared album
import json
import os
import sys
import requests
import threading
name = "John"
d = json.load(open(os.path.join(sys.path[0], "images.json")))
image_path = os.path.join(sys.path[0], "images")
const functions = require("firebase-functions");
const fetch = require("node-fetch");
exports.login = functions.https.onRequest(async (req, res) => {
res.set("Access-Control-Allow-Origin", "*");
const body = JSON.parse(req.body);
await fetch("https://auth.bereal.team/api/vonage/request-code", {
method: "POST",
headers: {
accept: "*/*",
"content-type": "application/json",