Quantcast
Channel: D3Scene
Viewing all articles
Browse latest Browse all 21080

[Help] Script for galagiveaway?

$
0
0
That site is for steam and desira giveaways but u need to have points to enter into giveaway..u getting some points from time to time but they also giveing some refills with mass points and they apper randomly so i usually miss them..
but i found no pastebin one guy who made scrpt for that site who will note u when refill apper but he just posed code and i dont know to use it,so ill paste here and hope someone will know to tell me how to use it with that site
Code:

'''
Script start
Created on 18/02/2013

@author: josmerod
'''
import time
import random
import winsound

def send_sound_alert():
        for i in range(100):
                winsound.PlaySound("SystemExclamation", winsound.SND_ALIAS)
                print 'REFILL ON'
       
def get_page(page):
        try:
            import urllib
            return urllib.urlopen(page).read()
        except:
            return ""

def refill_checker():
        contents = get_page("http://www.galagiveaways.com/pointsLess")
        location = contents.find('Points: <font style="color:#fef805"><strong>0')
        if location != -1:
                send_sound_alert()
       
def main():
    while True:
            refill_checker()
        wait = 60 + random.randint(0,300)
            print "WAITING " + str(wait)
            time.sleep(60+random.randint(100,300))
           
main()
'''
Script end
'''

its said its just for windows for now
ty for any help

Viewing all articles
Browse latest Browse all 21080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>