import urllib2

print 'courtesy of doctormckay.com'

#while true to make sure we dont need to keep restarting it every time we find the user status
while True:
        
    # gets username, makes sure it's a string and makes it lowercase
    user = raw_input('>>> = ')
    user = str(user)
    user = user.lower()
    
    # gets the url
    url = 'https://www.doctormckay.com/utilities/mc_checker.php?u=' + user
    
    # opens url and reads it (and stores it in string)
    parse = urllib2.urlopen(url)
    html = parse.read()

    #  this is the part that checks is user is premium or not
    def runName(name):
        # if the success label in the html code (if user is premium) then print
        if '<span class="label label-success">premium</span>' in html:
            print 'The user' + ' ' + name + ' ' + 'is premium!'
            
        # else if success label NOT in html then print
        elif '<span class="label label-success">premium</span>' not in html:
            print 'The user' + ' ' + name + ' ' + 'is not premium!'

        # if a strange error has occured
        else:
            print 'An error has occured, we could not find the user' + ' ' + name

    # here we just run the function
    runName(user)

@@ -15,47 +15,8 @@
 %0D%0A%0D%0A
-print 'courtesy of doctormckay.com'%0D%0A%0D%0A
 #whi
@@ -328,54 +328,38 @@
 s://
-www.doctormckay.com/utilities/mc_checker.php?u
+minecraft.net/haspaid.jsp?user
 =' +
@@ -672,56 +672,12 @@
 if '
-%3Cspan class=%22label label-success%22%3Epremium%3C/span%3E
+true
 ' in
@@ -837,61 +837,14 @@
 if '
-%3Cspan class=%22label label-success%22%3Epremium%3C/span%3E' not
+false'
  in 
@@ -1100,16 +1100,16 @@
 nction%0D%0A
+
     runN
@@ -1113,14 +1113,12 @@
 unName(user)
-%0D%0A

use official minecraft username checker (now MUCH faster)