wget download recursivo somente arquivo de índice

0

Eu segui uma das respostas fornecidas em neste post para baixar as postagens de um blog, e apenas isso, sem links externos, mas o recurso recursivo parece não funcionar, já que apenas o arquivo de índice é baixado. Alguma sugestão?

$ wget      --recursive   --page-requisites      --html-extension      --convert-links      --restrict-file-names=windows      --domains https://bestblog.wordpress.com/  https://bestblog.wordpress.com/
--2018-07-21 10:26:35--  https://bestblog.wordpress.com/
Resolving bestblog.wordpress.com (bestblog.wordpress.com)... 192.0.78.13, 192.0.78.12
Connecting to bestblog.wordpress.com (bestblog.wordpress.com)|192.0.78.13|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘bestblog.wordpress.com/index.html’

bestblog.wordpress.     [ <=>                ]  65.36K  --.-KB/s    in 0.09s   

2018-07-21 10:26:36 (729 KB/s) - ‘bestblog.wordpress.com/index.html’ saved [66929]

FINISHED --2018-07-21 10:26:36--
Total wall clock time: 0.4s
Downloaded: 1 files, 65K in 0.09s (729 KB/s)
Converting links in bestblog.wordpress.com/index.html... 6-25
Converted links in 1 files in 0.002 seconds.
    
por Erwann 21.07.2018 / 16:33

1 resposta

0

Você deve especificar o --domains flag sem o esquema:

--domains bestblog.wordpress.com
    
por 21.07.2018 / 16:42

Tags