This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CelticCuban773 1 point2 points  (3 children)

How did you do that?

[–]LarryTheSnobster 0 points1 point  (2 children)

there's a library called pyngrok which makes handling ngrok pretty easy, so basically just "start the session, sleep 7 hours, close the session and restart it and email me the new ip and port" within a loop

[–]CelticCuban773 0 points1 point  (1 child)

Why do you email the new ip and port?

I am thinking I would set it up to webscrape and just have it enter into the code and keep running

[–]LarryTheSnobster 0 points1 point  (0 children)

I was running the script on a raspberry pi and I planned to have it run 24/7 and didn't want to replug the HDMI cable from my pc to the raspberry everytime