GithubHelp home page GithubHelp logo

yuxwtf / snapchatusernamechecker Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 12 KB

๐Ÿ‘ป The fast and best one Snapchat Username Checker !

Python 100.00%
snap snapchat snapchatusernamechecker snapusername username usernamechecker

snapchatusernamechecker's Introduction

from GitHub import ReadMe

class Yux(ReadMe):
    def __init__(self):
        self.profileUrl = "https://github.com/yuxwtf"
        self.username = "Yux"
        
        self.contacts = {
            "Discord": "yuxwtf",
        }
        
        self.usedLanguages = [
            "Python",
            "Lua",
            "Java",
            "PHP",
            "HTML",
            "CSS"
        ]
        
        self.age = "15"
        self.activity = "Freelance Developer"
        
 me = Yux()

snapchatusernamechecker's People

Contributors

yuxwtf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

snapchatusernamechecker's Issues

look below (better version of this)

import requests, urllib.parse, user_agent, random, threading; from colorama import Fore

threads = input(f"{Fore.MAGENTA}threads > ")
        
def x_token() -> None: # gets new fresh xsrf tokens every request.
        headers = {'host': 'accounts.snapchat.com', 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36', 'accept': '*/*', 'sec-gpc': '1', 'origin': 'https://web.snapchat.com', 'sec-fetch-site': 'same-site', 'sec-fetch-mode': 'cors', 'sec-fetch-dest': 'empty', 'referer': 'https://web.snapchat.com/', 'accept-encoding': 'gzip, deflate, br', 'accept-language': 'en-US,en;q=0.9'}
        x = requests.post(
            url = (
                'https://'
                    +'accounts.snapchat.com'
                    + '/accounts/sso?'
                    + urllib.parse.urlencode(
                        {
                            "client_id": "web-calling-corp--prod"
                    }
                )
            ),
            headers = (
                headers
            )
        )


def __get__user():
 try:

   usernames = requests.get("https://rentry.co/6btqv/raw").text.splitlines() # uses a list of clean semi / final users to use for checking.
   user = random.choice(usernames)
   headers = {
      "User-Agent": user_agent.generate_user_agent(),
      "Cookie": f"xsrf_token={x_token()}"
   }
   xae = requests.post(f"https://accounts.snapchat.com/accounts/get_username_suggestions?requested_username={user}&xsrf_token={x_token()}", headers=headers)

   if '' in xae.text:
    print(f"{Fore.YELLOW}too many rq's being sent!")

   if xae.json()['value']['status_code'] == 'TAKEN':
    print(f"{Fore.RED}{user} {Fore.RESET}taken!")

   if xae.json()['value']['status_code'] == 'DELETED':
    print(f"{Fore.YELLOW}{user} {Fore.RESET}deleted!")

   if xae.json()['value']['status_code'] == 'OK':
    print(f"{Fore.GREEN}{user} {Fore.RESET}available!")

 except Exception:
  pass
  

def __thread_loop(): 
 for x in range(int(threads)):
        threading.Thread(target=__get__user).start()

__thread_loop()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.