Direct link does not work with wget on ubuntu [closed]

0

I'm trying to download direct from this https://punchsub.zlx.com.br/download-vip/6262326895623150684821353451533450406/shingeki-no-kyojin-2-7-mp4 link, but even using the wget --user=usuario --password=senha https://punchsub.zlx.com.br/download-vip/6262326895623150684821353451533450406/shingeki-no-kyojin-2-7-mp4 command it just keeps connecting infinite, but when low by the browser it works perfectly.

    
asked by anonymous 13.05.2017 / 17:26

1 answer

2

It seems like your wget is set to default with --max-redirect 0 . This implies that it will not do the redirect after a 301 and 302.

For this you can use the options -L curl and --max-redirect wget.

Using curl

curl -L -u usuario:senha [url]

Using wget

wget --max-redirect 100 --user usuario --password senha [url]

*** Edited

But that does not answer the question.

    
14.05.2017 / 14:35