I made some changes but the result expected is exactly the same. On Sun, Mar 20, 2022 at 6:47 PM Jim Gibson <jimsgib...@gmail.com> wrote:
> On Mar 20, 2022, at 7:28 AM, William Torrez Corea <willitc9...@gmail.com> > wrote: > > > > Ready, the result is it: > > > > wget > https://scontent.fmga3-1.fna.fbcdn.net/v/t39.30808-1/274490608_3202483196693292_7724900589789523726_n.jpg_n.jpg > > > You’ve put an extra “_n.jpg” at the end of that URL because you captured > the whole URL and then added that string. That is not what you want to do, > but if you take off the extra piece, it still doesn’t work. > > It is best, when trying to automate something, to ensure that you can do > the thing manually first. > > > When i try download a file: > > > > --2022-03-20 08:27:41-- > https://scontent.fmga3-1.fna.fbcdn.net/v/t39.30808-6/276012480_335659911953943_8504688182854120580_n.jpg_n.jpg > > Resolving scontent.fmga3-1.fna.fbcdn.net (scontent.fmga3-1.fna.fbcdn.net)... > 186.77.250.145 > > Connecting to scontent.fmga3-1.fna.fbcdn.net ( > scontent.fmga3-1.fna.fbcdn.net)|186.77.250.145|:443... connected. > > HTTP request sent, awaiting response... 403 Forbidden > > 2022-03-20 08:27:41 ERROR 403: Forbidden. > > > > On Sun, Mar 20, 2022 at 7:45 AM Mike <te...@mflan.com> wrote: > > > > I don't use FB at all, but it's clear they spend a lot of their > > resources obfuscating their website. They provide a tool for > > backing up your FB wall, or whatever it is called, but the tool > > is not effective and reliable. I'm sure there are people overcoming > > this obfuscation, and then FB changes their site to obfuscate it again. > > > > Here is one example of people overcoming the FB obfuscation, and then > > FB changes their site to obfuscate it again: > > https://gist.github.com/zmwangx/6bb9ddb5d904b7275c62 > > > > I don't use FB because I don't like their rules. > > > > > > Mike > > > > > > On 3/19/22 22:25, William Torrez Corea wrote: > >> So, friend? > >> > >> On Sat, Mar 19, 2022 at 8:23 PM Adam Hopkins < > violapirateju...@gmail.com> wrote: > >> I mean the Facebook.html file that you are scanning > >> > >> On Sat, Mar 19, 2022 at 9:17 PM William Torrez Corea < > willitc9...@gmail.com> wrote: > >> Here is the short code: > >> > >> https://gist.github.com/adipasquale/2217595 > >> > >> > >> > >> On Sat, Mar 19, 2022 at 8:10 PM Adam Hopkins < > violapirateju...@gmail.com> wrote: > >> Did you download Facebook.html and already have it sitting on your > computer? > >> > >> Can you upload that to a gist and share it here? > >> > >> On Sat, Mar 19, 2022 at 8:48 PM William Torrez Corea < > willitc9...@gmail.com> wrote: > >> 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 <jimsgib...@gmail.com> > 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 < > willitc9...@gmail.com> 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 > > > > ⠈⠳⣄⠀⠀⠀⠀ > > > > Jim Gibson > > > > -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀