glowreader.py 299 B

123456789101112131415
  1. #!/usr/bin/env python
  2. import subprocess
  3. # Change this to the location of your glow program
  4. glow = "glow.exe"
  5. # Get the link
  6. link = input("Link: ")
  7. # Just in case it's a lbry:// link
  8. link = link.replace('lbry:/', 'https://lbry2.vanwanet.com/speech')
  9. # Run in shell
  10. subprocess.Popen([glow, link])