Deutsch   English   Français   Italiano  
<ldgtm4FirtiU2@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.advocacy
Subject: Re: Need Assistance -- Network Programming
Date: 19 Jun 2024 20:34:12 GMT
Lines: 25
Message-ID: <ldgtm4FirtiU2@mid.individual.net>
References: <17da6bead1f52684$159717$3694546$802601b3@news.usenetexpress.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net T9pC8zHCkEPrhJnxxJLCIgo3K5zoF0+UUO3yO+2Qiw5a9WLbkO
Cancel-Lock: sha1:ODqX4ocxk9BXA1vkXn8S7856vr0= sha256:kydjcwF7+kuSNPp1ZMPBCfpprG7zJoaroE9A0FmggiU=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
 CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.159 (Vovchansk; 873418b; Linux-6.9.5)
Bytes: 1865

On Wed, 19 Jun 2024 13:47:44 +0000, Lester Thorpe <lt@gnu.rocks> wrote in
<17da6bead1f52684$159717$3694546$802601b3@news.usenetexpress.com>:

> Ordinarily, I don't give a flying fuck about network programming
> but necessity does dictate.
> 
> I need to read through an HTML file, find all external HTTP(S) links,
> and then determine if those external links are still viable, i.e.
> if the pages to which they link still exist.
> 
> Perl is the language of choice.
> 
> Finding the links is not a problem, but how do I determine viability?
> Do I look for the "404" error or is there another way?
> 
> I don't want no fucking Python code.
> 
> Pseudocode or just the relevant commands would be preferable.

This isn't Linux advocacy, Mr. Too-lazy-to-use-google.

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.9.5tweaked Release: Mint 21.3 Mem: 258G
   "Fatal Error Using Mouse. Replace and Bury Operator."