bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] grab complete download link


From: bas smit
Subject: Re: [Bug-wget] grab complete download link
Date: Mon, 21 Jul 2014 10:38:41 +0900

Dear Darshit Shah
Thanks for your response.

I tried with the following command:
subprocess.call([wget,'--user',user,'--password',passw,'-P',download_dir,'--page-requisites',url,'-o',logfile,\
    '--no-check-certificate'])

However, still unsuccessful to download the required file.

I also obtained the following in the log file:

WARNING: Certificate verification error: unable to get local issuer
certificate


I hope you can help me.

Bas


WARNING: Certificate verification error: unable to get local issuer
certificate


On Thu, Jul 17, 2014 at 9:34 PM, Darshit Shah <address@hidden> wrote:

> You want to use the --page-requisites option
>
> On Thu, Jul 17, 2014 at 2:22 PM, bas smit <address@hidden> wrote:
> > I am looking for command line option to use the same functionality as the
> > "Download All with Free Download Manager" does. It grabs the complete
> > download links though only partial links are shown in the source html.  I
> > tried the following code, but but could not figure out which particular
> > parameter is necessary for that. The url provided below is the only known
> > one.
> >
> > import subprocess
> >
> > user, passw = 'user', 'passw'
> >
> > url = '
> http://earthexplorer.usgs.gov/download/3120/LM10300301974324GDS05/STANDARD/BulkDownload
> '
> >
> > wget = "C:\\Users\\bas\\Downloads\\wget-1.10.2.exe"
> > subprocess.call([wget, '--user', user, '--password', passw, url])
>
>
>
> --
> Thanking You,
> Darshit Shah
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]