Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. import webbrowser
  2. import time
  3. import os
  4.  
  5. intro ="""
  6.  
  7. ░▀░ █░░ █▀▀█ █▀▀ ▀▀█▀▀ █▀▀▄ █▀▀█ █▀▄▀█ █▀▀
  8. ▀█▀ █░░ █░░█ ▀▀█ ░░█░░ █░░█ █▄▄█ █░▀░█ █▀▀
  9. ▀▀▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ░░▀░░ ▀░░▀ ▀░░▀ ▀░░░▀ ▀▀▀
  10.  
  11. By iLostName (@UserCrypted on TG)
  12. """
  13. print("intro")
  14.  
  15.  
  16. url = input("Enter YouTube URL : ")
  17. refresh = input("Enter refresh rate(seconds) : ")
  18. brow = input("Enter your default browser : ")
  19.  
  20. def OpenUrl():
  21. print("Successfully Viwed. ")
  22. os.system(" killall -9 " + brow)
  23. webbrowser.open(url)
  24. time.sleep(int(refresh))
  25.  
  26. for i in range(3):
  27. OpenUrl()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement