Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. #BY ORIN#
  2. import requests
  3. #Download Here: http://docs.python-requests.org/en/master/ # This was made on V2.11.1#
  4. from bs4 import BeautifulSoup
  5. import time as t
  6.  
  7. 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------------------------------------------------------")
  8. bcaccs = []
  9. filename = input("File Location (See Above ^): ")
  10. print("Going through accounts. This may take a while.")
  11. with open(str("C:\\Users" + filename)) as f:
  12. for line in f:
  13. user = line[:line.find(":")]
  14. r=BeautifulSoup(requests.get('https://www.roblox.com/Thumbs/BCOverlay.ashx?username=' + user, allow_redirects=False).text, "html.parser")
  15. response = r.h2.a['href']
  16. if response == "https://static.rbxcdn.com/images/icons/overlay_bcOnly.png":
  17. bcaccs.append(user + "1")
  18. elif response == "https://static.rbxcdn.com/images/icons/overlay_tbcOnly.png":
  19. bcaccs.append(user + "2")
  20. elif response == "https://static.rbxcdn.com/images/icons/overlay_obcOnly.png":
  21. bcaccs.append(user + "3")
  22. print("------------------------------------------------------\nCycle Complete!\nThe Following BC Accounts Were Extracted:")
  23. if bcaccs:
  24. for acc in bcaccs:
  25. if acc[len(acc)-1] == "1":
  26. print(acc[:len(acc)-1] + " | BC")
  27. elif acc[len(acc)-1] == "2":
  28. print(acc[:len(acc)-1] + " | TBC")
  29. elif acc[len(acc)-1] == "3":
  30. print(acc[:len(acc)-1] + " | OBC")
  31. else:
  32. print("NONE!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement