Created
June 11, 2013 06:50
-
-
Save akshaydeo/5754908 to your computer and use it in GitHub Desktop.
GooglePlay Ping
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 urllib | |
import urllib.request | |
import sys | |
from multiprocessing import Process | |
import time | |
def read_page(): | |
print("reading source") | |
req = urllib.request.Request("https://play.google.com/store/apps/details?id=main.java.com.appsurfer") | |
try: | |
page_source = urllib.request.urlopen(req) | |
except: | |
print("no") | |
return | |
print("AppSurfer app is up \m/ yohoooooo !!") | |
if __name__ == "__main__": | |
#sendmail() | |
while(True): | |
read_page() | |
time.sleep(15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment