Skip to content

Instantly share code, notes, and snippets.

@akshaydeo
Created June 11, 2013 06:50
Show Gist options
  • Save akshaydeo/5754908 to your computer and use it in GitHub Desktop.
Save akshaydeo/5754908 to your computer and use it in GitHub Desktop.
GooglePlay Ping
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