i try to download the webpages specified as a list of urls in a text file urls, and convert and merge them to a single pdf file, by running:$ wkhtmltopdf $(cat urls) all.pdfLoading pages (1/6)Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.Counting pages (2/6)                                               Resolving links (4/6)                                                         Loading headers and footers (5/6)                                             Printing pages (6/6)Done                                                                        Exit with code 1 due to network error: ProtocolUnknownErrorI didn't get a pdf file with all the webpages' contents, and some webpages are missing.Everytime I ran it, the missing webpages were different. I wonder why?The content of the file urls is:http://www.statsoft.com/textbook/about-textbook/http://www.statsoft.com/textbook/free-resources/http://www.statsoft.com/textbook/elementary-concepts-in-statistics/http://www.statsoft.com/textbook/basic-statistics/http://www.statsoft.com/textbook/anova-manova/http://www.statsoft.com/textbook/association-rules/http://www.statsoft.com/textbook/boosting-trees-regression-classification/http://www.statsoft.com/textbook/canonical-analysis/http://www.statsoft.com/textbook/chaid-analysis/http://www.statsoft.com/textbook/classification-and-regression-trees/http://www.statsoft.com/textbook/classification-trees/http://www.statsoft.com/textbook/cluster-analysis/http://www.statsoft.com/textbook/correspondence-analysis/http://www.statsoft.com/textbook/data-mining-techniques/http://www.statsoft.com/textbook/discriminant-function-analysis/Even when I download the webpages using wget which preserves the directory structure of the webpage on the server, by using the reply at https://unix.stackexchange.com/a/210553/674,  and then call wkhtmltopdf on the local downloaded files, I still can't get a complete pdf file:$ wkhtmltopdf $(cat localurls) all.pdfLoading pages (1/6)Warning: Failed to load file:///Portals/_default/Skins/Greytness2/Rebranding/header-footer.css (ignore)Warning: Failed to load file:///css/jquery-ui-accordion.css (ignore)Warning: Failed to load file://nexus.ensighten.com/dellsoftwaregroup/statsoft/Bootstrap.js (ignore)Warning: Failed to load file:///js/dnn.js (ignore)Warning: Failed to load file:///Portals/_default/Skins/Greytness2/js/header-footer.js (ignore)Warning: Failed to load file:///images/flash/loadFlash.js (ignore)Warning: Failed to load file:///Resources/Shared/scripts/initWidgets.js (ignore)Warning: Failed to load file:///js/jquery-ui.js (ignore)Warning: Failed to load file:///Portals/_default/Skins/Greytness2/graphics/search-button.png (ignore)Warning: Failed to load file:///portals/0/Images/banners/fp-banners-dnn-greytness-EST.jpg (ignore)Warning: Failed to load file:///textbook/images/b1.png (ignore)Warning: Failed to load file:///textbook/images/b42.png (ignore)Warning: Failed to load file:///textbook/images/b2.png (ignore)Warning: Failed to load file:///textbook/images/b3.png (ignore)Warning: Failed to load file:///textbook/images/b4.png (ignore)Warning: Failed to load file:///textbook/images/b5.png (ignore)Warning: Failed to load file:///textbook/images/b6.png (ignore)Warning: Failed to load file:///textbook/images/b7.png (ignore)Warning: Failed to load file:///textbook/images/b8.png (ignore)Warning: Failed to load file:///textbook/images/b9.png (ignore)Warning: Failed to load file:///textbook/images/b10.png (ignore)Warning: Failed to load file:///textbook/images/b11.png (ignore)Warning: Failed to load file:///textbook/images/b12.png (ignore)Warning: Failed to load file:///textbook/images/b13.png (ignore)Warning: Failed to load file:///textbook/images/b14.png (ignore)Warning: Failed to load file:///textbook/images/b15.png (ignore)Warning: Failed to load file:///textbook/images/b16.png (ignore)Warning: Failed to load file:///textbook/images/b17.png (ignore)Warning: Failed to load file:///textbook/images/b18.png (ignore)Warning: Failed to load file:///textbook/images/b19.png (ignore)Warning: Failed to load file:///textbook/images/b20.png (ignore)Warning: Failed to load file:///textbook/images/b21.png (ignore)Warning: Failed to load file:///textbook/images/b22.png (ignore)Warning: Failed to load file:///textbook/images/b23.png (ignore)Warning: Failed to load file:///textbook/images/b24.png (ignore)Warning: Failed to load file:///textbook/images/b25.png (ignore)Warning: Failed to load file:///textbook/images/b26.png (ignore)Warning: Failed to load file:///textbook/images/b27.png (ignore)Warning: Failed to load file:///textbook/images/b28.png (ignore)Warning: Failed to load file:///textbook/images/b29.png (ignore)Warning: Failed to load file:///textbook/images/b30.png (ignore)Warning: Failed to load file:///textbook/images/b31.png (ignore)Warning: Failed to load file:///textbook/images/b32.png (ignore)Warning: Failed to load file:///textbook/images/b33.png (ignore)Warning: Failed to load file:///textbook/images/b34.png (ignore)Warning: Failed to load file:///textbook/images/b35.png (ignore)Warning: Failed to load file:///textbook/images/b36.png (ignore)Warning: Failed to load file:///textbook/images/b37.png (ignore)Warning: Failed to load file:///textbook/images/b38.png (ignore)Warning: Failed to load file:///textbook/images/b39.png (ignore)Warning: Failed to load file:///textbook/images/b40.png (ignore)Warning: Failed to load file:///textbook/images/b41.png (ignore)Warning: Failed to load file:///textbook/images/b43.png (ignore)Warning: Failed to load file:///textbook/images/b44.png (ignore)Warning: Failed to load file:///textbook/images/b45.png (ignore)Warning: Failed to load file:///textbook/images/b46.png (ignore)Warning: Failed to load file:///textbook/images/business.png (ignore)Warning: Failed to load file:///textbook/images/free.png (ignore)Warning: Failed to load file:///textbook/images/about.png (ignore)Warning: Failed to load file:///portals/0/Textbook/bookadd2.jpg (ignore)Warning: Failed to load file:///portals/0/images/social/social-icons-01.png (ignore)Warning: Failed to load file:///portals/0/images/social/social-icons-02.png (ignore)Warning: Failed to load file:///portals/0/images/social/social-icons-03.png (ignore)Warning: Failed to load file:///portals/0/images/social/social-icons-04.png (ignore)Warning: Failed to load file:///portals/0/images/social/social-icons-05.png (ignore)Warning: Failed to load file:///portals/0/images/social/social-icons-06.png (ignore)Warning: Failed to load file:///portals/0/Support/scorecard.JPG (ignore)Warning: Failed to load file:///portals/0/Support/ks graph.JPG (ignore)Counting pages (2/6)                                               Resolving links (4/6)                                                         Loading headers and footers (5/6)                                             Printing pages (6/6)Done                                                                        Exit with code 1 due to network error: ProtocolInvalidOperationErrorwhere the content of the file localurls is./www.statsoft.com/textbook/about-textbook/index.html./www.statsoft.com/textbook/free-resources/index.html./www.statsoft.com/textbook/elementary-concepts-in-statistics/index.html./www.statsoft.com/textbook/basic-statistics/index.html./www.statsoft.com/textbook/anova-manova/index.html./www.statsoft.com/textbook/association-rules/index.html./www.statsoft.com/textbook/boosting-trees-regression-classification/index.html./www.statsoft.com/textbook/canonical-analysis/index.html./www.statsoft.com/textbook/chaid-analysis/index.html./www.statsoft.com/textbook/classification-and-regression-trees/index.html./www.statsoft.com/textbook/classification-trees/index.html./www.statsoft.com/textbook/cluster-analysis/index.html./www.statsoft.com/textbook/correspondence-analysis/index.html./www.statsoft.com/textbook/data-mining-techniques/index.html./www.statsoft.com/textbook/discriminant-function-analysis/index.html
Can't download all of specified webpages by using wkhtmltopdf
pdf;download;html