This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import BeautifulSoup | |
import requests | |
def gethours(name): | |
if len(name) == 17 and name.isdigit: | |
xml = requests.get('http://steamcommunity.com/profiles/%s/games?xml=1' % name) | |
else: | |
xml = requests.get('http://steamcommunity.com/id/%s/games?xml=1' % name) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Diamond Dash bot | |
''' | |
import time | |
import autopy | |
import ImageGrab | |
from random import randint | |
from collections import Counter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
import random | |
import sys | |
ext = ['.png', '.jpg', '.gif'] | |
chars = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' | |
prefix = 'http://i.imgur.com/' | |
try: | |
print "Press Ctrl+C to end!" |
NewerOlder