Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Having troubles downloading from FossHub

by karlgoethebier (Abbot)
on Jul 25, 2017 at 16:38 UTC ( [id://1196027]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Having troubles downloading from FossHub
in thread need help downloading a file

As hippo said:

"...avoid to violate the target site's terms of service."

And as marto quoted in your other thread:

"...Inform us about your intention before any attempt to interact with our website. If possible, provide us a sample of your code/tool to see how it is designed to work with our system."

This should be quite easy.

Make it so. See also WWW::Curl::Easy and perhaps Yet another example to get URLs in parallel for some inspiration.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Replies are listed 'Best First'.
Re^4: Having troubles downloading from FossHub
by Anonymous Monk on Jul 26, 2017 at 04:40 UTC
    Figured it out! I used HwINFO's other download site. I posted over on the original question. Thank you all for the help !!
      you figured out what you got told the first time you asked?
        Yes. It took a bit to set in.

        I also made a few mistakes in my code I had to correct. One of them was `use LWP::Protocol::https` instead of `use LWP::Protocol qw ( https )`. I also learned the correct syntax for the User Agent, and the data dumper to get a good error message. Oh, and the obvious, stay away from Foss Hub or make a system call to curl if I can't. I also changed the return status from a reference pointer to the return statement.

        I did post back the final code last night, but it doesn't seem to have migrated. It may be here somewhere. I do have a lot of trouble navigating this forum. If anyone wants to see the final test code and can't find it here, it is also over at http://vpaste.net/rUwvk

        I appreciate all the help. Sorry it took so long to set in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1196027]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found