Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, How retrieve a link that required to fill password? Eg: https link. Thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    24

    Wget


    Hi,

    How retrieve a link that required to fill password? Eg: https link.

    Thanks.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    hi,

    man wget

    from the man page:

    --user=user
    --password=password
    Specify the username user and password password for both FTP and HTTP file retrieval. These parameters can be
    overridden using the --ftp-user and --ftp-password options for FTP connections and the --http-user and --http-password
    options for HTTP connections.

    haven't tried it myself, but seems to be what you are asking.

    btw, https itself doesn't mean passwords, but it might. it depends on how the website is asking for authentication whether or not the wget method above will work for you. if it doesn't work, check out curl, lynx, links, etc.

    also cool, and very flexible is the Perl CPAN module, LWP::UserAgent.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •