News for hackers. Stuff that matters.
Re:Ask HN: How do you check a url is valid? by ultrablue on Friday October 20, 2017 @01:26PM (#15517538)
curllib will tell you whether there's something there, presuming the network is available.

In fact, a simple HEAD request will suffice for that.

That would also prove that the domain is registered, presuming DNS is working.

Re:Ask HN: How do you check a url is valid? by icebraining on Friday October 20, 2017 @01:30PM (#15517576)
That's not enough; some registrars keep a domain parked and responding after the registration has expired.
Re:Ask HN: How do you check a url is valid? by lookingfj on Friday October 20, 2017 @02:12PM (#15517928)
And this is exactly the problem I want to solve and the key challenge