Skip to content

تدييق الاحتمالات #139179

@Remah-xp

Description

@Remah-xp

import itertools
import requests
import time

توليد كل أسماء المستخدمين الرباعية (A-Z)

letters = 'abcdefghijklmnopqrstuvwxyz'
all_usernames = [''.join(p) for p in itertools.product(letters, repeat=4)]

مثال: تحقق من أول 10 أسماء لتجنب الحظر

for username in all_usernames[:10]:
url = https://accountscenter.instagram.com/profiles/17841408101324331/username/?theme=dark/"
response = requests.get(url)

if response.status_code == 404:
    print(f"{username} متاح")
else:
    print(f"{username} محجوز")

time.sleep(5)  # انتظر 5 ثوانٍ بين الطلبات لتجنب الحظر

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions