Skip to content

Instantly share code, notes, and snippets.

@DNSKT
Created June 7, 2018 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DNSKT/17d5eec799f6915cdaa6aa985d64da97 to your computer and use it in GitHub Desktop.
Save DNSKT/17d5eec799f6915cdaa6aa985d64da97 to your computer and use it in GitHub Desktop.
import os
import webbrowser
import time
def start():
os.system("TASKKILL /F /IM " + browser + ".exe")
webbrowser.open(url)
time.sleep(int(refresh))
print("video visto")
start()
url = input("cual es tu URL?")
refresh = input("dime los segundos para las visitas.")
browser = input("cual es tu navegador?")
start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment