import subprocess process = subprocess.Popen(['youtube-dl', '-f','bestaudio','https://www.youtube.com/watch?v=dCsr0CNqB3g' ], stdout=subprocess.PIPE, ) while True: output = process.stdout.readline() if output == '' and process.poll() is not None: break if output: print(output.strip()) rc = process.poll()
Location for the config yml file /home/example/.ngrok2/ngrok.yml content of config file authtoken: 4nq9771bPxe8ctg7LKr_2ClH7Y15Zqe4bWLWF9p tunnels: app-foo: addr: 80 proto: http host_header: app-foo.dev app-bar: addr: 80 proto: http host_header: app-bar.dev how to start ngrok with considering the config file: ngrok start --all
Comments
Post a Comment