https page download lazarus / 21-General ---------------------------------------------------------------------- BubikolRamios · 2023-12-03 17:18 Looks like I have all working (having libeay32.dll and ssleay32.dll), +/- like: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i     with TFPHttpClient.Create(Nil) do    try      AllowRedirect:= true;      htmlStr := Get('some https page');    finally      Free;    end;  for instance from this page https://wiki.freepascal.org/Try , code pulls all page content, but from this not - all links missing https://italic.units.it/flora/index.php?procedure=specieslist&key_id=6 771. EDIT: problematic link shows OK, if you scroll down here / click 'list of species' https://italic.units.it/flora/index.php?procedure=ext_key_home&key_id= 6771 Any idea ? ---------------------------------------------------------------------- kwyan · 2023-12-04 11:02 @BubikolRamios, what do you mean "all links missing"? "list of species" is not a link. It is a HTML form and the button is a HTTP FORM POST. If you use HTTP client to get the html source of the page, you may get something like this: ---------------------------------------------------------------------- Thaddy · 2023-12-04 13:28 AllowRedirects property should be true. If the page is fully gennerated on  the flly by scripting that does not work.  But downloading the page will work. ---------------------------------------------------------------------- BubikolRamios · 2023-12-04 15:11 Allready: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i AllowRedirect:= true;  So playing a bit with browser, figured, and now it magically works. Have no idea but looks to me as Get would open session and something is written to it ? And then scanning second link = target link, works. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i with TFPHttpClient.Create(Nil) do    try      AllowRedirect:= true;      //the one with button      htmlStr := Get('https://italic.units.it/flo ra/index.php?procedure=ext_key_home&key_id=6771');      //the one that button opens      htmlStr := Get('https://italic.units.it/flora/index. php?procedure=specieslist&key_id=6771');    finally      Free;    end;  will look into downloading  thing ....