Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #BY ORIN#
- import requests
- #Download Here: http://docs.python-requests.org/en/master/ # This was made on V2.11.1#
- from bs4 import BeautifulSoup
- import time as t
- print("ORIN'S ROBLOX ACC CHECKER!\n------------------------------------------------------\nThe default directory is C:\\Users\\\nFor example, if you want to find the file 'wow.txt' in documents,\nYou would type '\\YOURUSERNAME\\Documents\\wow.txt'\n------------------------------------------------------")
- bcaccs = []
- filename = input("File Location (See Above ^): ")
- print("Going through accounts. This may take a while.")
- with open(str("C:\\Users" + filename)) as f:
- for line in f:
- user = line[:line.find(":")]
- r=BeautifulSoup(requests.get('https://www.roblox.com/Thumbs/BCOverlay.ashx?username=' + user, allow_redirects=False).text, "html.parser")
- response = r.h2.a['href']
- if response == "https://static.rbxcdn.com/images/icons/overlay_bcOnly.png":
- bcaccs.append(user + "1")
- elif response == "https://static.rbxcdn.com/images/icons/overlay_tbcOnly.png":
- bcaccs.append(user + "2")
- elif response == "https://static.rbxcdn.com/images/icons/overlay_obcOnly.png":
- bcaccs.append(user + "3")
- print("------------------------------------------------------\nCycle Complete!\nThe Following BC Accounts Were Extracted:")
- if bcaccs:
- for acc in bcaccs:
- if acc[len(acc)-1] == "1":
- print(acc[:len(acc)-1] + " | BC")
- elif acc[len(acc)-1] == "2":
- print(acc[:len(acc)-1] + " | TBC")
- elif acc[len(acc)-1] == "3":
- print(acc[:len(acc)-1] + " | OBC")
- else:
- print("NONE!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement