Re: Can use perl for download photos from facebook?

William Torrez Corea <[email protected]>
Newsgroups gmane.comp.lang.perl.beginners
Message-ID <CAGiORHdaP1TNodwWboQ65svDeVwS8cjtfYQQ6RcH1VsezSmFSA@mail.gmail.com>
I have a short code:

#!/usr/bin/perl;
@ARGV = ("Facebook.html");
while(<>){
while(/(http[a-z\-\.0-9:\/]*\w*)_a.jpg/g){
print "wget $1_n.jpg\n";
}
}

But the result expected is null. I don't know why.

On Sat, Mar 19, 2022 at 7:21 AM Jim Gibson <[email protected]> wrote:

> Check out the LWP library of modules on CPAN:
>
> <https://metacpan.org/pod/LWP>
>
> > On Mar 19, 2022, at 6:07 AM, William Torrez Corea <[email protected]>
> wrote:
> >
> > I have an idea from the program but I don't know where to start.
> >
>
> Jim Gibson
>
>
>
>

-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.