How can I start ngrok with python and copy the public link just executing python script ?
I tried with subprocess but it only launched the 'ngrok http 80' command , I want to copy the public link.
How can I start ngrok with python and copy the public link just executing python script ?
I tried with subprocess but it only launched the 'ngrok http 80' command , I want to copy the public link.
Copyright © 2021 Jogjafile Inc.
Use the
pyngroklibrary, which you can install withpip install pyngrokor put in your requirements file. Then open a tunnel and grab the public URL you're asking for like this: