[{"data":1,"prerenderedAt":18},["ShallowReactive",2],{"article":3},{"id":4,"category":5,"slug":6,"title":7,"image":8,"page_image":9,"published_at":10,"updated_at":11,"meta_title":12,"meta_description":13,"meta_keywords":14,"content":15,"tags":16,"faqs":17},91,"blog","ua-kak-ispolzovat-java-dlya-skreipinga-dannyx-v-seti","Як використовувати Java для скрейпінгу даних в Мережі","https://blog.dexodata.com/storage/uploads/previews/14-1-s-trusted-proxy-website-using-java-for-data-scraping-cover-2064x982-c0fd137c-641b-402a-8d44-a31b0fe45d1a.webp","https://blog.dexodata.com/storage/uploads/covers/f41fe3da-d419-4dbb-b49a-5e6e094208a9.webp","2023/06/02","2023/08/07","Java для дата-харвестингу з сайтом проксі-сервером","Посібник по використанню Java при зборі даних в інтернеті від Dexodata, сайту проксі сервера, що пропонує купити приватні проксі з геотаргетингом.","сайт прокси сервер, аренда прокси, попробовать прокси, купить приватные прокси","\u003C!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n\u003C?xml encoding=\"utf-8\"?>\u003Chtml>\u003Cbody>\u003Cp>\u003Cem>\u003Cstrong>&#1047;&#1084;&#1110;&#1089;&#1090;:\u003C/strong>\u003C/em>\u003C/p>\n\u003Col>\n\u003Cli>\u003Ca href=\"#anchor1\">&#1054;&#1075;&#1083;&#1103;&#1076; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1110;&#1074; &#1074;&#1110;&#1076; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072;\u003C/a>\u003C/li>\n\u003Cli>\u003Ca href=\"#anchor2\">&#1054;&#1089;&#1085;&#1086;&#1074;&#1080; CSS-&#1089;&#1077;&#1083;&#1077;&#1082;&#1090;&#1086;&#1088;&#1110;&#1074; &#1076;&#1083;&#1103; &#1090;&#1080;&#1093;, &#1082;&#1086;&#1075;&#1086; &#1094;&#1110;&#1082;&#1072;&#1074;&#1080;&#1090;&#1100; &#1086;&#1088;&#1077;&#1085;&#1076;&#1072; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1074;&#1110;&#1076; Dexodata\u003C/a>\u003C/li>\n\u003Cli>\u003Ca href=\"#anchor3\">&#1055;&#1086;&#1082;&#1088;&#1086;&#1082;&#1086;&#1074;&#1080;&#1081; &#1075;&#1072;&#1081;&#1076; &#1087;&#1086; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1085;&#1102; Java-&#1089;&#1082;&#1088;&#1077;&#1081;&#1087;&#1077;&#1088;&#1072;\u003C/a>\u003C/li>\n\u003Cli>\u003Ca href=\"#anchor4\">&#1058;&#1086;&#1085;&#1082;&#1086;&#1097;&#1110; &#1079;&#1072;&#1087;&#1080;&#1090;&#1110;&#1074;\u003C/a>\u003C/li>\n\u003Cli>\u003Ca href=\"#anchor5\">&#1042;&#1080;&#1089;&#1085;&#1086;&#1074;&#1086;&#1082;\u003C/a>\u003C/li>\n\u003C/ol>\n\u003Cp>Dexodata, &#1089;&#1072;&#1081;&#1090; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;, &#1097;&#1086; &#1087;&#1088;&#1086;&#1087;&#1086;&#1085;&#1091;&#1108; &#1086;&#1088;&#1077;&#1085;&#1076;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1079;&#1072; &#1094;&#1110;&#1085;&#1086;&#1102; &#1074;&#1110;&#1076; \u003Ca href=\"https://dexodata.com/ru/pricing\" target=\"_blank\" rel=\"noopener\">3.65 &#1076;&#1086;&#1083;&#1072;&#1088;&#1110;&#1074; &#1079;&#1072; 1 &#1043;&#1073;\u003C/a>, &#1087;&#1088;&#1072;&#1094;&#1102;&#1108; &#1079; &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1072;&#1084;&#1080;, &#1103;&#1082;&#1080;&#1084; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1086; &#1088;&#1077;&#1075;&#1091;&#1083;&#1103;&#1088;&#1085;&#1086; &#1079;&#1073;&#1080;&#1088;&#1072;&#1090;&#1080; &#1076;&#1072;&#1085;&#1110; &#1074; &#1110;&#1085;&#1090;&#1077;&#1088;&#1085;&#1077;&#1090;&#1110;. &#1053;&#1072;&#1096;&#1072; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; &#1085;&#1072;&#1073;&#1091;&#1083;&#1072; &#1074; &#1094;&#1110;&#1081; &#1089;&#1092;&#1077;&#1088;&#1110; &#1077;&#1082;&#1089;&#1087;&#1077;&#1088;&#1090;&#1085;&#1086;&#1075;&#1086; &#1076;&#1086;&#1089;&#1074;&#1110;&#1076;&#1091;. &#1030; &#1084;&#1080; &#1079;&#1085;&#1072;&#1108;&#1084;&#1086;, &#1097;&#1086; Java &mdash; &#1085;&#1077; &#1108;&#1076;&#1080;&#1085;&#1080;&#1081; &#1074;&#1072;&#1088;&#1110;&#1072;&#1085;&#1090; &#1084;&#1086;&#1074;&#1080; &#1087;&#1088;&#1086;&#1075;&#1088;&#1072;&#1084;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103; &#1076;&#1083;&#1103; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1110;&#1074; &#1076;&#1072;&#1090;&#1072;-&#1093;&#1072;&#1088;&#1074;&#1077;&#1089;&#1090;&#1080;&#1085;&#1075;&#1091;.\u003C/p>\n\u003Cp>&#1047; &#1094;&#1080;&#1084;&#1080; &#1094;&#1110;&#1083;&#1103;&#1084;&#1080; &#1083;&#1102;&#1076;&#1080; &#1079;&#1074;&#1077;&#1088;&#1090;&#1072;&#1102;&#1090;&#1100;&#1089;&#1103; &#1110; &#1076;&#1086; PHP, &#1110; &#1076;&#1086; Node.js, &#1110; &#1076;&#1086; C#, &#1110; &#1076;&#1086; Python. &#1030; &#1074;&#1089;&#1077; &#1078; Java &#1086;&#1089;&#1086;&#1073;&#1083;&#1080;&#1074;&#1086; &#1087;&#1086;&#1087;&#1091;&#1083;&#1103;&#1088;&#1085;&#1072;. &#1059; &#1094;&#1100;&#1086;&#1084;&#1091; &#1084;&#1072;&#1090;&#1077;&#1088;&#1110;&#1072;&#1083;&#1110; &#1085;&#1072;&#1096;&#1072; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; &#1088;&#1086;&#1079;&#1087;&#1086;&#1074;&#1110;&#1089;&#1090;&#1100; &#1087;&#1088;&#1086; &#1087;&#1086;&#1090;&#1077;&#1085;&#1094;&#1110;&#1072;&#1083; &#1094;&#1110;&#1108;&#1111; &#1084;&#1086;&#1074;&#1080; &#1085;&#1072; &#1087;&#1088;&#1072;&#1082;&#1090;&#1080;&#1095;&#1085;&#1080;&#1093; &#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#1072;&#1093;. &#1059; &#1087;&#1086;&#1076;&#1072;&#1083;&#1100;&#1096;&#1086;&#1084;&#1091; &#1095;&#1080;&#1090;&#1072;&#1095;&#1110; &#1079;&#1084;&#1086;&#1078;&#1091;&#1090;&#1100; &#1079;&#1074;&#1077;&#1088;&#1085;&#1091;&#1090;&#1080;&#1089;&#1103; &#1076;&#1086; &#1094;&#1100;&#1086;&#1075;&#1086; &#1075;&#1072;&#1081;&#1076;&#1091;, &#1097;&#1086;&#1073; &#1079;&#1072;&#1089;&#1090;&#1086;&#1089;&#1091;&#1074;&#1072;&#1090;&#1080; &#1094;&#1110; &#1079;&#1085;&#1072;&#1085;&#1085;&#1103; &#1085;&#1072; &#1087;&#1088;&#1072;&#1082;&#1090;&#1080;&#1094;&#1110;, &#1089;&#1087;&#1088;&#1086;&#1073;&#1091;&#1074;&#1072;&#1074;&#1096;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1073;&#1077;&#1079;&#1082;&#1086;&#1096;&#1090;&#1086;&#1074;&#1085;&#1086; &#1072;&#1073;&#1086; &#1082;&#1091;&#1087;&#1080;&#1074;&#1096;&#1080; &#1087;&#1088;&#1080;&#1074;&#1072;&#1090;&#1085;&#1110; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; Dexodata.\u003C/p>\n\u003Ch2>\u003Ca name=\"anchor1\">\u003C/a>&#1054;&#1075;&#1083;&#1103;&#1076; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1110;&#1074; &#1074;&#1110;&#1076; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072;&nbsp;\u003C/h2>\n\u003Cp>&#1050;&#1086;&#1083;&#1080; &#1081;&#1076;&#1077;&#1090;&#1100;&#1089;&#1103; &#1087;&#1088;&#1086; &#1087;&#1072;&#1088;&#1089;&#1080;&#1085;&#1075; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; Java, &#1095;&#1072;&#1089;&#1090;&#1086; &#1079;&#1075;&#1072;&#1076;&#1091;&#1102;&#1090;&#1100;&#1089;&#1103; &#1094;&#1110; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1080;: \u003Ca href=\"https://jsoup.org/\" target=\"_blank\" rel=\"noopener\">JSoup\u003C/a> &#1110; \u003Ca href=\"https://htmlunit.sourceforge.io/\" target=\"_blank\" rel=\"noopener\">HtmlUnit\u003C/a>.\u003C/p>\n\u003Cp>JSoup &#1087;&#1088;&#1072;&#1094;&#1102;&#1108; &#1103;&#1082; &#1077;&#1092;&#1077;&#1082;&#1090;&#1080;&#1074;&#1085;&#1072; &#1110; &#1087;&#1088;&#1080; &#1094;&#1100;&#1086;&#1084;&#1091; &#1074;&#1110;&#1076;&#1085;&#1086;&#1089;&#1085;&#1086; &#1087;&#1088;&#1086;&#1089;&#1090;&#1072; &#1073;&#1110;&#1073;&#1083;&#1110;&#1086;&#1090;&#1077;&#1082;&#1072;, &#1079;&#1076;&#1072;&#1090;&#1085;&#1072; &#1087;&#1088;&#1072;&#1094;&#1102;&#1074;&#1072;&#1090;&#1080; &#1079; &#1076;&#1077;&#1092;&#1086;&#1088;&#1084;&#1086;&#1074;&#1072;&#1085;&#1080;&#1084;&#1080; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;&#1072;&#1084;&#1080; HTML. &#1031;&#1111; &#1090;&#1086;&#1084;&#1091; &#1110; &#1085;&#1072;&#1079;&#1080;&#1074;&#1072;&#1102;&#1090;&#1100; &laquo;JSoup&raquo;, &#1072;&#1076;&#1078;&#1077; &#1087;&#1086;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1085;&#1103; &laquo;tag soup&raquo; &#1079;&#1072;&#1089;&#1090;&#1086;&#1089;&#1086;&#1074;&#1091;&#1108;&#1090;&#1100;&#1089;&#1103; &#1103;&#1082;&#1088;&#1072;&#1079; &#1076;&#1086; &#1073;&#1077;&#1079;&#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1085;&#1080;&#1093; &#1073;&#1083;&#1086;&#1082;&#1110;&#1074; &#1076;&#1072;&#1085;&#1080;&#1093;.\u003C/p>\n\u003Cp>&#1065;&#1086; &#1089;&#1090;&#1086;&#1089;&#1091;&#1108;&#1090;&#1100;&#1089;&#1103; HtmlUnit, &#1090;&#1086; &#1081;&#1086;&#1075;&#1086; &#1084;&#1086;&#1078;&#1085;&#1072; &#1086;&#1087;&#1080;&#1089;&#1072;&#1090;&#1080; &#1103;&#1082; headless-&#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088; (&#1090;. &#1077;. &#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088; &#1073;&#1077;&#1079; &#1075;&#1088;&#1072;&#1092;&#1110;&#1095;&#1085;&#1086;&#1075;&#1086; &#1110;&#1085;&#1090;&#1077;&#1088;&#1092;&#1077;&#1081;&#1089;&#1091;), &#1087;&#1088;&#1080;&#1089;&#1090;&#1086;&#1089;&#1086;&#1074;&#1072;&#1085;&#1080;&#1081; &#1076;&#1083;&#1103; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1110;&#1074; &#1085;&#1072; &#1086;&#1089;&#1085;&#1086;&#1074;&#1110; Java. &#1042;&#1110;&#1085; &#1079;&#1076;&#1072;&#1090;&#1085;&#1080;&#1081; &#1110;&#1084;&#1110;&#1090;&#1091;&#1074;&#1072;&#1090;&#1080; &#1076;&#1110;&#1111;, &#1093;&#1072;&#1088;&#1072;&#1082;&#1090;&#1077;&#1088;&#1085;&#1110; &#1076;&#1083;&#1103; &#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088;&#1072; &#1110;, &#1103;&#1082; &#1074;&#1080;&#1087;&#1083;&#1080;&#1074;&#1072;&#1108; &#1079; &#1085;&#1072;&#1079;&#1074;&#1080;, &#1079;&#1072;&#1089;&#1090;&#1086;&#1089;&#1086;&#1074;&#1091;&#1108;&#1090;&#1100;&#1089;&#1103; &#1076;&#1083;&#1103; &#1102;&#1085;&#1110;&#1090;-&#1090;&#1077;&#1089;&#1090;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103;. &#1058;&#1086;&#1073;&#1090;&#1086;, &#1074;&#1110;&#1085; &laquo;&#1089;&#1080;&#1084;&#1091;&#1083;&#1102;&#1108;&raquo; &#1076;&#1110;&#1111; &#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088;&#1072; &#1074; &#1088;&#1072;&#1084;&#1082;&#1072;&#1093; &#1090;&#1077;&#1089;&#1090;&#1086;&#1074;&#1086;&#1075;&#1086; &#1089;&#1094;&#1077;&#1085;&#1072;&#1088;&#1110;&#1102;.\u003C/p>\n\u003Cp>&#1059; &#1094;&#1100;&#1086;&#1084;&#1091; &#1089;&#1090;&#1072;&#1090;&#1091;&#1089;&#1110; &#1074;&#1110;&#1085; &#1079;&#1076;&#1072;&#1090;&#1085;&#1080;&#1081; &#1074;&#1080;&#1076;&#1110;&#1083;&#1103;&#1090;&#1080; &#1092;&#1088;&#1072;&#1075;&#1084;&#1077;&#1085;&#1090;&#1080;, &#1079;&#1072;&#1087;&#1086;&#1074;&#1085;&#1102;&#1074;&#1072;&#1090;&#1080; &#1092;&#1086;&#1088;&#1084;&#1080;, &#1082;&#1083;&#1110;&#1082;&#1072;&#1090;&#1080; &#1087;&#1086; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;&#1072;&#1093; &#1110; &#1090;.&#1076;. &#1044;&#1083;&#1103; &#1072;&#1074;&#1090;&#1086;&#1084;&#1072;&#1090;&#1080;&#1079;&#1086;&#1074;&#1072;&#1085;&#1086;&#1075;&#1086; \u003Ca href=\"https://dexodata.com/ru/blog/10-veskix-povodov-doverit-sbor-dannyx-dexodata\" target=\"_blank\" rel=\"noopener\">&#1079;&#1073;&#1086;&#1088;&#1091; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111; &#1074; &#1110;&#1085;&#1090;&#1077;&#1088;&#1085;&#1077;&#1090;&#1110; &#1095;&#1077;&#1088;&#1077;&#1079; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110;\u003C/a> &#1087;&#1086;&#1076;&#1110;&#1073;&#1085;&#1110; &#1079;&#1076;&#1110;&#1073;&#1085;&#1086;&#1089;&#1090;&#1110; &mdash; &#1074; &#1089;&#1072;&#1084;&#1080;&#1081; &#1088;&#1072;&#1079;. HtmlUnit &#1085;&#1072;&#1089;&#1087;&#1088;&#1072;&#1074;&#1076;&#1110; &#1089;&#1087;&#1088;&#1086;&#1097;&#1091;&#1108; &#1074;&#1079;&#1072;&#1108;&#1084;&#1086;&#1076;&#1110;&#1102; &#1079;&#1110; &#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1082;&#1086;&#1102;. &#1062;&#1077; &#1084;&#1080; &#1087;&#1110;&#1076;&#1090;&#1074;&#1077;&#1088;&#1076;&#1078;&#1091;&#1108;&#1084;&#1086; &#1079; &#1090;&#1086;&#1095;&#1082;&#1080; &#1079;&#1086;&#1088;&#1091; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072; &#1076;&#1083;&#1103; &#1086;&#1088;&#1077;&#1085;&#1076;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1079; &#1087;&#1091;&#1083;&#1110;&#1074; &#1072;&#1076;&#1088;&#1077;&#1089; &#1079; &#1075;&#1077;&#1086;&#1090;&#1072;&#1088;&#1075;&#1077;&#1090;&#1080;&#1085;&#1075;&#1086;&#1084; &#1110; &#1088;&#1086;&#1090;&#1072;&#1094;&#1110;&#1108;&#1102; (&#1079; &#1085;&#1072;&#1084;&#1080; &#1084;&#1086;&#1078;&#1085;&#1072; &#1085;&#1077; &#1090;&#1110;&#1083;&#1100;&#1082;&#1080; &#1082;&#1091;&#1087;&#1080;&#1090;&#1080; &#1087;&#1088;&#1080;&#1074;&#1072;&#1090;&#1085;&#1110; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110;, &#1072;&#1083;&#1077; &#1081; &#1089;&#1087;&#1088;&#1086;&#1073;&#1091;&#1074;&#1072;&#1090;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1073;&#1077;&#1079;&#1082;&#1086;&#1096;&#1090;&#1086;&#1074;&#1085;&#1086;).\u003C/p>\n\u003Cp>&#1044;&#1086;&#1076;&#1072;&#1090;&#1082;&#1086;&#1074;&#1080;&#1081; &#1072;&#1088;&#1075;&#1091;&#1084;&#1077;&#1085;&#1090; &#1085;&#1072; &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1100; HtmlUnit &#1089;&#1090;&#1086;&#1089;&#1086;&#1074;&#1085;&#1086; &#1087;&#1077;&#1088;&#1077;&#1075;&#1083;&#1103;&#1076;&#1091; &#1074;&#1077;&#1073;-&#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1086;&#1082; &#1110; &#1079;&#1073;&#1086;&#1088;&#1091; &#1076;&#1072;&#1085;&#1080;&#1093;: &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1091; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1086; &#1083;&#1080;&#1096;&#1077; &#1086;&#1076;&#1085;&#1072; &#1088;&#1103;&#1076;&#1086;&#1082; &#1082;&#1086;&#1076;&#1091;, &#1097;&#1086;&#1073; &#1076;&#1077;&#1072;&#1082;&#1090;&#1080;&#1074;&#1091;&#1074;&#1072;&#1090;&#1080; &#1103;&#1082; JS, &#1090;&#1072;&#1082; &#1110; CSS.\u003C/p>\n\u003Cp>\u003Cem>&#1042;&#1072;&#1078;&#1083;&#1080;&#1074;&#1086;: &#1062;&#1077;&#1081; &#1075;&#1072;&#1081;&#1076; &#1087;&#1077;&#1088;&#1077;&#1076;&#1073;&#1072;&#1095;&#1072;&#1108;, &#1097;&#1086; &#1095;&#1080;&#1090;&#1072;&#1095;&#1110; &#1074;&#1078;&#1077; &#1074; &#1103;&#1082;&#1110;&#1081;&#1089;&#1100; &#1084;&#1110;&#1088;&#1110; &#1086;&#1089;&#1074;&#1086;&#1111;&#1083;&#1080; Java, &#1072; &#1090;&#1072;&#1082;&#1086;&#1078; &#1085;&#1072; &#1076;&#1086;&#1089;&#1090;&#1072;&#1090;&#1085;&#1100;&#1086;&#1084;&#1091; &#1088;&#1110;&#1074;&#1085;&#1110; &#1079;&#1085;&#1072;&#1102;&#1090;&#1100; Maven. &#1042; &#1076;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082; &#1076;&#1086; &#1086;&#1089;&#1085;&#1086;&#1074;&#1072;&#1084; Java &#1074;&#1086;&#1085;&#1080; &#1087;&#1086;&#1074;&#1080;&#1085;&#1085;&#1110; &#1084;&#1072;&#1090;&#1080; &#1091;&#1103;&#1074;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1090;&#1077;, \u003Ca href=\"https://ru.wikipedia.org/wiki/HTML\" target=\"_blank\" rel=\"noopener\">&#1103;&#1082; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1086;&#1085;&#1091;&#1102;&#1090;&#1100; &#1074;&#1077;&#1073;-&#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1082;&#1080; &#1079; &#1090;&#1086;&#1095;&#1082;&#1080; &#1079;&#1086;&#1088;&#1091; HTML\u003C/a>. &#1047;&#1085;&#1072;&#1081;&#1086;&#1084;&#1089;&#1090;&#1074;&#1086; &#1079; &#1089;&#1077;&#1083;&#1077;&#1082;&#1090;&#1086;&#1088;&#1072;&#1084;&#1080; XPath &#1072;&#1073;&#1086; CSS &#1090;&#1072;&#1082;&#1086;&#1078; &#1073;&#1072;&#1078;&#1072;&#1085;&#1077;.&nbsp;\u003C/em>\u003C/p>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor2\">\u003C/a>&#1054;&#1089;&#1085;&#1086;&#1074;&#1080; CSS-&#1089;&#1077;&#1083;&#1077;&#1082;&#1090;&#1086;&#1088;&#1110;&#1074; &#1076;&#1083;&#1103; &#1090;&#1080;&#1093;, &#1082;&#1086;&#1075;&#1086; &#1094;&#1110;&#1082;&#1072;&#1074;&#1080;&#1090;&#1100; &#1086;&#1088;&#1077;&#1085;&#1076;&#1072; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1074;&#1110;&#1076; Dexodata&nbsp;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#1047;&#1091;&#1087;&#1080;&#1085;&#1080;&#1084;&#1086;&#1089;&#1103; &#1085;&#1072; &#1089;&#1077;&#1082;&#1091;&#1085;&#1076;&#1091;, &#1097;&#1086;&#1073; &#1086;&#1089;&#1074;&#1110;&#1078;&#1080;&#1090;&#1080; &#1074; &#1087;&#1072;&#1084;'&#1103;&#1090;&#1110; &#1088;&#1077;&#1083;&#1077;&#1074;&#1072;&#1085;&#1090;&#1085;&#1110; CSS-&#1089;&#1077;&#1083;&#1077;&#1082;&#1090;&#1086;&#1088;&#1080;:\u003C/p>\n\u003Cul>\n\u003Cli>\u003Cstrong>#firstname\u003C/strong> &mdash; &#1073;&#1077;&#1088;&#1077; &#1082;&#1086;&#1078;&#1077;&#1085; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;, id &#1103;&#1082;&#1086;&#1075;&#1086; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1072;&#1108; &laquo;firstname&raquo;;\u003C/li>\n\u003Cli>\u003Cstrong>.blue\u003C/strong> &mdash; &#1073;&#1077;&#1088;&#1077; &#1082;&#1086;&#1078;&#1077;&#1085; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;, &#1082;&#1083;&#1072;&#1089; &#1103;&#1082;&#1086;&#1075;&#1086; &#1084;&#1072;&#1108; &#1074;&#1110;&#1076;&#1085;&#1086;&#1096;&#1077;&#1085;&#1085;&#1103; &#1076;&#1086; &laquo;.blue&raquo;;\u003C/li>\n\u003Cli>\u003Cstrong>p\u003C/strong> &mdash; &#1073;&#1077;&#1088;&#1077; &#1082;&#1086;&#1078;&#1077;&#1085; &#1090;&#1077;&#1075; &lt;p&gt;;\u003C/li>\n\u003Cli>\u003Cstrong>div#firstname\u003C/strong> &mdash; &#1073;&#1077;&#1088;&#1077; &#1073;&#1072;&#1079;&#1086;&#1074;&#1110; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;&#1080; &lt;div&gt;, id &#1103;&#1082;&#1080;&#1093; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1072;&#1108;&nbsp; &laquo;firstname&raquo;;\u003C/li>\n\u003Cli>\u003Cstrong>p.link.new\u003C/strong> &mdash; &#1079;&#1074;&#1077;&#1088;&#1085;&#1110;&#1090;&#1100; &#1091;&#1074;&#1072;&#1075;&#1091; &#1085;&#1072; &#1074;&#1110;&#1076;&#1089;&#1091;&#1090;&#1085;&#1110;&#1089;&#1090;&#1100; &#1087;&#1088;&#1086;&#1073;&#1110;&#1083;&#1110;&#1074;. &#1062;&#1103; &#1095;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1072;&#1083;&#1100;&#1085;&#1072; &#1079;&#1072; &#1074;&#1080;&#1073;&#1110;&#1088; &lt;p class=\"link new\"&gt;;\u003C/li>\n\u003Cli>\u003Cstrong>p.link .new\u003C/strong> &mdash; &#1072; &#1086;&#1090; &#1090;&#1091;&#1090; &#1087;&#1088;&#1086;&#1073;&#1110;&#1083; &#1108;. &#1062;&#1103; &#1095;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1072;&#1083;&#1100;&#1085;&#1072; &#1079;&#1072; &#1074;&#1080;&#1073;&#1110;&#1088; &#1082;&#1086;&#1078;&#1085;&#1086;&#1075;&#1086; &#1082;&#1086;&#1084;&#1087;&#1086;&#1085;&#1077;&#1085;&#1090;&#1072;, &#1097;&#1086; &#1074;&#1110;&#1076;&#1085;&#1086;&#1089;&#1080;&#1090;&#1100;&#1089;&#1103; &#1076;&#1086; &#1082;&#1083;&#1072;&#1089;&#1091; &laquo;new&raquo;, &#1103;&#1082;&#1080;&#1081; &#1084;&#1086;&#1078;&#1085;&#1072; &#1079;&#1085;&#1072;&#1081;&#1090;&#1080; &#1074;&#1089;&#1077;&#1088;&#1077;&#1076;&#1080;&#1085;&#1110; &lt;p class=\"link\"&gt;.\u003C/li>\n\u003C/ul>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor3\">\u003C/a>&#1055;&#1086;&#1082;&#1088;&#1086;&#1082;&#1086;&#1074;&#1080;&#1081; &#1075;&#1072;&#1081;&#1076; &#1087;&#1086; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1085;&#1102; Java-&#1089;&#1082;&#1088;&#1077;&#1081;&#1087;&#1077;&#1088;&#1072;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#1053;&#1072; &#1073;&#1072;&#1079;&#1110; &#1076;&#1086;&#1089;&#1074;&#1110;&#1076;&#1091;, &#1103;&#1082;&#1080;&#1081; &#1084;&#1080; &#1085;&#1072;&#1073;&#1091;&#1083;&#1080; &#1074; &#1103;&#1082;&#1086;&#1089;&#1090;&#1110; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072;, Dexodata &#1087;&#1086;&#1095;&#1080;&#1085;&#1072;&#1108; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089; &#1088;&#1086;&#1079;&#1088;&#1086;&#1073;&#1082;&#1080; Java-&#1089;&#1082;&#1088;&#1077;&#1081;&#1087;&#1077;&#1088;&#1072;. &#1056;&#1086;&#1073;&#1080;&#1090;&#1080; &#1094;&#1077; &#1084;&#1080; &#1073;&#1091;&#1076;&#1077;&#1084;&#1086; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; Maven, JSoup &#1110; HtmlUnit.&nbsp;\u003C/p>\n\u003Cp>&#1056;&#1077;&#1079;&#1091;&#1083;&#1100;&#1090;&#1072;&#1090; &#1085;&#1072;&#1096;&#1080;&#1093; &#1079;&#1091;&#1089;&#1080;&#1083;&#1100;, &#1074;&#1083;&#1072;&#1089;&#1085;&#1077; &#1089;&#1082;&#1088;&#1077;&#1081;&#1087;&#1077;&#1088;, &#1082;&#1088;&#1072;&#1097;&#1077; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1074;&#1072;&#1090;&#1080; &#1074; &#1082;&#1086;&#1084;&#1073;&#1110;&#1085;&#1072;&#1094;&#1110;&#1111; &#1079; &#1086;&#1088;&#1077;&#1085;&#1076;&#1086;&#1074;&#1072;&#1085;&#1080;&#1084;&#1080; \u003Ca href=\"https://dexodata.com/ru/blog/kakie-proksi-s-rotaciei-lucse-kupit-dlya-biznesa\" target=\"_blank\" rel=\"noopener\">&#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1079; &#1088;&#1086;&#1090;&#1072;&#1094;&#1110;&#1108;&#1102; IP\u003C/a>. &#1059; &#1085;&#1086;&#1074;&#1080;&#1093; &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1110;&#1074;, &#1085;&#1072; &#1076;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082; &#1076;&#1086; &#1084;&#1086;&#1078;&#1083;&#1080;&#1074;&#1086;&#1089;&#1090;&#1110; &#1082;&#1091;&#1087;&#1080;&#1090;&#1080; &#1087;&#1088;&#1080;&#1074;&#1072;&#1090;&#1085;&#1110; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110;, &#1108; &#1087;&#1088;&#1072;&#1074;&#1086; \u003Ca href=\"https://dashboard.dexodata.com/admin/register?lang=ru\" target=\"_blank\" rel=\"noopener\">&#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1080;&#1090;&#1080; &#1087;&#1088;&#1086;&#1073;&#1085;&#1080;&#1081; &#1087;&#1077;&#1088;&#1110;&#1086;&#1076;\u003C/a> &#1110; &#1089;&#1087;&#1088;&#1086;&#1073;&#1091;&#1074;&#1072;&#1090;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1073;&#1077;&#1079;&#1082;&#1086;&#1096;&#1090;&#1086;&#1074;&#1085;&#1086;.&nbsp;\u003C/p>\n\u003Cp>1. &#1044;&#1083;&#1103; &#1087;&#1086;&#1095;&#1072;&#1090;&#1082;&#1091; &#1076;&#1086;&#1073;&#1091;&#1076;&#1077;&#1084;&#1086; &#1073;&#1110;&#1073;&#1083;&#1110;&#1086;&#1090;&#1077;&#1082;&#1080;.\u003C/p>\n\u003Cp>&#1058;&#1091;&#1090; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1078;&#1077; Maven. &#1071;&#1082;&#1097;&#1086; &#1074;&#1086;&#1085;&#1072; &#1079; &#1103;&#1082;&#1086;&#1111;&#1089;&#1100; &#1087;&#1088;&#1080;&#1095;&#1080;&#1085;&#1080; &#1085;&#1077; &#1087;&#1110;&#1076;&#1093;&#1086;&#1076;&#1080;&#1090;&#1100;, &#1090;&#1086; &#1087;&#1088;&#1086;&#1081;&#1076;&#1110;&#1090;&#1100; &#1085;&#1072; \u003Ca href=\"https://jsoup.org/download\" target=\"_blank\" rel=\"noopener\">&#1094;&#1102; &#1074;&#1077;&#1073;-&#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1082;&#1091;\u003C/a>, &#1090;&#1091;&#1090; &#1108; &#1072;&#1083;&#1100;&#1090;&#1077;&#1088;&#1085;&#1072;&#1090;&#1080;&#1074;&#1080;. &#1052;&#1080; &#1078; &#1087;&#1088;&#1072;&#1094;&#1102;&#1108;&#1084;&#1086; &#1079; Maven, \u003Ca href=\"https://maven.apache.org/install.html\" target=\"_blank\" rel=\"noopener\">&#1089;&#1082;&#1072;&#1095;&#1072;&#1090;&#1080; &#1081;&#1086;&#1075;&#1086; &#1084;&#1086;&#1078;&#1085;&#1072; &#1090;&#1091;&#1090;\u003C/a>.&nbsp;\u003C/p>\n\u003Cp>&#1071;&#1082; &#1090;&#1110;&#1083;&#1100;&#1082;&#1080; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1082;&#1072; &#1079;&#1072;&#1082;&#1110;&#1085;&#1095;&#1077;&#1085;&#1072;, &#1079;&#1072;&#1087;&#1091;&#1089;&#1090;&#1110;&#1090;&#1100; &#1090;&#1072;&#1084; &#1085;&#1086;&#1074;&#1080;&#1081; &#1087;&#1088;&#1086;&#1077;&#1082;&#1090; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1080;:\u003C/p>\n\u003Cp>\u003Ccode>mvn archetype:generate -DgroupId=com.mycompany.parser -DartifactId=java-parser -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false\u003C/code>\u003C/p>\n\u003Cp>&#1055;&#1086;&#1089;&#1090;&#1091;&#1087;&#1080;&#1074;&#1096;&#1080; &#1090;&#1072;&#1082;, &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1110; &#1089;&#1090;&#1074;&#1086;&#1088;&#1103;&#1090;&#1100; &#1085;&#1086;&#1074;&#1091; &#1087;&#1088;&#1086;&#1077;&#1082;&#1090;&#1085;&#1091; &#1087;&#1072;&#1087;&#1082;&#1091; &#1087;&#1110;&#1076; &#1085;&#1072;&#1079;&#1074;&#1086;&#1102; &laquo;java-parser&raquo;. &#1062;&#1077; &#1085;&#1072;&#1076;&#1072;&#1089;&#1090;&#1100; &#1074; &#1111;&#1093; &#1088;&#1086;&#1079;&#1087;&#1086;&#1088;&#1103;&#1076;&#1078;&#1077;&#1085;&#1085;&#1103; &#1074;&#1089;&#1110; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1110; &#1092;&#1072;&#1081;&#1083;&#1080; Maven &#1110; &#1073;&#1072;&#1079;&#1086;&#1074;&#1091; &#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1091;&#1088;&#1091;.&nbsp;\u003C/p>\n\u003Cp>2. &#1058;&#1077;&#1087;&#1077;&#1088; &#1076;&#1086;&#1076;&#1072;&#1084;&#1086; &#1079;&#1072;&#1083;&#1077;&#1078;&#1085;&#1086;&#1089;&#1090;&#1110; &#1076;&#1086; &#1092;&#1072;&#1081;&#1083;&#1091; pom.xml.\u003C/p>\n\u003Cp>&#1059; &#1092;&#1072;&#1081;&#1083;&#1110; pom.xml (&laquo;pom&raquo; &#1086;&#1079;&#1085;&#1072;&#1095;&#1072;&#1108; &laquo;Project Object Model&raquo;) &#1090;&#1088;&#1077;&#1073;&#1072; &#1076;&#1086;&#1076;&#1072;&#1090;&#1080; &#1085;&#1086;&#1074;&#1080;&#1081; &#1088;&#1086;&#1079;&#1076;&#1110;&#1083; &#1076;&#1083;&#1103; &#1088;&#1086;&#1073;&#1086;&#1090;&#1080; &#1079; &#1079;&#1072;&#1083;&#1077;&#1078;&#1085;&#1086;&#1089;&#1090;&#1103;&#1084;&#1080; &#1074; &#1088;&#1072;&#1084;&#1082;&#1072;&#1093; JSoup. &#1030;&#1076;&#1077;&#1084;&#1086; &#1076;&#1086; &#1087;&#1072;&#1087;&#1082;&#1080; &laquo;java-parser&raquo; &#1110; &#1074;&#1110;&#1076;&#1082;&#1088;&#1080;&#1074;&#1072;&#1108;&#1084;&#1086; &#1092;&#1072;&#1081;&#1083; pom.xml. &#1042;&#1082;&#1083;&#1102;&#1095;&#1072;&#1108;&#1084;&#1086; &#1079;&#1072;&#1083;&#1077;&#1078;&#1085;&#1086;&#1089;&#1090;&#1110; &#1087;&#1110;&#1076; &#1090;&#1077;&#1075;&#1086;&#1084; &lt;dependencies&gt;:\u003C/p>\n\u003Cp>\u003Ccode>&lt;dependency&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &lt;groupId&gt;org.jsoup&lt;/groupId&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &lt;artifactId&gt;jsoup&lt;/artifactId&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &lt;version&gt;1.14.3&lt;/version&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&lt;/dependency&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&lt;dependency&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &lt;groupId&gt;net.sourceforge.htmlunit&lt;/groupId&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &lt;artifactId&gt;htmlunit&lt;/artifactId&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &lt;version&gt;2.56.0&lt;/version&gt;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&lt;/dependency&gt;\u003C/code>\u003C/p>\n\u003Cp>&#1047;&#1073;&#1077;&#1088;&#1110;&#1075;&#1072;&#1108;&#1084;&#1086; pom.xml &#1110; &#1087;&#1088;&#1086;&#1076;&#1086;&#1074;&#1078;&#1091;&#1108;&#1084;&#1086; &#1085;&#1072;&#1096; &#1084;&#1072;&#1088;&#1096;&#1088;&#1091;&#1090; &#1079; Dexodata, \u003Ca href=\"https://dexodata.com/ru/about\" target=\"_blank\" rel=\"noopener\">&#1089;&#1072;&#1081;&#1090;&#1086;&#1084; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1086;&#1084;\u003C/a> &#1110; &#1089;&#1100;&#1086;&#1075;&#1086;&#1076;&#1085;&#1110;&#1096;&#1085;&#1110;&#1084; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1086;&#1088;&#1086;&#1084; &#1087;&#1086; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1085;&#1102; &#1089;&#1082;&#1088;&#1077;&#1081;&#1087;&#1077;&#1088;&#1110;&#1074;.&nbsp;\u003C/p>\n\u003Cp>3. &#1043;&#1077;&#1085;&#1077;&#1088;&#1091;&#1108;&#1084;&#1086; &#1085;&#1086;&#1074;&#1080;&#1081; &#1082;&#1083;&#1072;&#1089; Java.\u003C/p>\n\u003Cp>&#1059; &#1087;&#1072;&#1087;&#1094;&#1110; src/main/java/com/mycompany/parser &#1089;&#1090;&#1074;&#1086;&#1088;&#1102;&#1108;&#1084;&#1086; &#1085;&#1086;&#1074;&#1080;&#1081; &#1092;&#1072;&#1081;&#1083; Java &#1087;&#1110;&#1076; &#1085;&#1072;&#1079;&#1074;&#1086;&#1102; &laquo;HtmlParser.java&raquo;. &#1062;&#1077;&#1081; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090; &#1087;&#1086;&#1089;&#1083;&#1091;&#1078;&#1080;&#1090;&#1100; &#1090;&#1086;&#1095;&#1082;&#1086;&#1102; &#1079;&#1073;&#1086;&#1088;&#1091; &#1110; &#1074;&#1093;&#1086;&#1076;&#1091; &#1076;&#1083;&#1103; &#1084;&#1072;&#1081;&#1073;&#1091;&#1090;&#1085;&#1100;&#1086;&#1075;&#1086; &#1087;&#1072;&#1088;&#1089;&#1077;&#1088;&#1072;.\u003C/p>\n\u003Cp style=\"text-align: center;\">\u003Cimg src=\"https://blog.dexodata.com/storage/uploads/images/91/14-1-1-geo-targeted-proxies-using-java-for-data-scraping-pic-1032x491-1850bcf8-dc44-498e-b031-04a17851689b.png\" alt=\"Java &#1076;&#1083;&#1103; &#1076;&#1072;&#1090;&#1072;-&#1093;&#1072;&#1088;&#1074;&#1077;&#1089;&#1090;&#1080;&#1085;&#1075;&#1072; &#1089; &#1089;&#1072;&#1081;&#1090;&#1086;&#1084; &#1087;&#1088;&#1086;&#1082;&#1089;&#1080;-&#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1086;&#1084;\" width=\"1032\" height=\"491\">\u003C/p>\n\u003Cp>4. &#1030;&#1084;&#1087;&#1086;&#1088;&#1090;&#1091;&#1108;&#1084;&#1086; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1110; &#1073;&#1110;&#1073;&#1083;&#1110;&#1086;&#1090;&#1077;&#1082;&#1080; &#1074; &laquo;HtmlParser.java&raquo;.\u003C/p>\n\u003Cp>&#1042;&#1110;&#1076;&#1082;&#1088;&#1080;&#1108;&#1084;&#1086; &#1092;&#1072;&#1081;&#1083; &#1091; &#1090;&#1077;&#1082;&#1089;&#1090;&#1086;&#1074;&#1086;&#1084;&#1091; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;&#1110; &#1072;&#1073;&#1086; &#1078; &#1091; &#1074;&#1080;&#1073;&#1088;&#1072;&#1085;&#1110;&#1081; &#1089;&#1077;&#1088;&#1077;&#1076;&#1086;&#1074;&#1080;&#1097;&#1110; &#1088;&#1086;&#1079;&#1088;&#1086;&#1073;&#1082;&#1080;, &#1072; &#1087;&#1086;&#1090;&#1110;&#1084; &#1087;&#1088;&#1086;&#1089;&#1090;&#1072;&#1074;&#1080;&#1084;&#1086; &#1094;&#1110; &#1088;&#1103;&#1076;&#1082;&#1080; &#1085;&#1072; &#1089;&#1072;&#1084;&#1086;&#1084;&#1091; &#1087;&#1086;&#1095;&#1072;&#1090;&#1082;&#1091; &#1092;&#1072;&#1081;&#1083;&#1091; &laquo;HtmlParser.java&raquo;:\u003C/p>\n\u003Cp>\u003Ccode>import org.jsoup.Jsoup;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>import org.jsoup.nodes.Document;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>import com.gargoylesoftware.htmlunit.WebClient;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>import com.gargoylesoftware.htmlunit.html.HtmlPage;\u003C/code>\u003C/p>\n\u003Cp>&#1052;&#1080; &#1074;&#1078;&#1077; &#1087;&#1088;&#1086;&#1081;&#1096;&#1083;&#1080; &#1085;&#1077;&#1084;&#1072;&#1083;&#1080;&#1081; &#1096;&#1083;&#1103;&#1093;, &#1087;&#1088;&#1086;&#1076;&#1086;&#1074;&#1078;&#1091;&#1108;&#1084;&#1086; &#1089;&#1083;&#1110;&#1076;&#1091;&#1074;&#1072;&#1090;&#1080; &#1079;&#1072; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1084; &#1084;&#1072;&#1088;&#1096;&#1088;&#1091;&#1090;&#1086;&#1084; &#1079; &#1085;&#1072;&#1096;&#1080;&#1084; &#1089;&#1072;&#1081;&#1090;&#1086;&#1084; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1086;&#1084;.\u003C/p>\n\u003Cp>5. &#1047;&#1072;&#1087;&#1091;&#1089;&#1090;&#1110;&#1090;&#1100; &#1086;&#1073;'&#1108;&#1082;&#1090; &laquo;WebClient&raquo; &#1110; &#1076;&#1077;&#1072;&#1082;&#1090;&#1080;&#1074;&#1091;&#1081;&#1090;&#1077; JS &#1110; CSS.\u003C/p>\n\u003Cp>&#1042;&#1089;&#1077;&#1088;&#1077;&#1076;&#1080;&#1085;&#1110; &#1082;&#1083;&#1072;&#1089;&#1091; &laquo;HtmlParser&raquo; &#1079;&#1072;&#1076;&#1072;&#1081;&#1090;&#1077; &#1084;&#1077;&#1090;&#1086;&#1076;&#1080; &#1076;&#1083;&#1103; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1085;&#1103; &#1086;&#1073;'&#1108;&#1082;&#1090;&#1072; &laquo;WebClient&raquo;, &#1074;&#1080;&#1090;&#1103;&#1075;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103; HTML &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; HtmlUnit, &#1072;&#1085;&#1072;&#1083;&#1110;&#1079;&#1091; &#1074;&#1084;&#1110;&#1089;&#1090;&#1091; HTML &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; JSoup &#1110; &#1079;&#1073;&#1086;&#1088;&#1091; &#1074;&#1091;&#1079;&#1100;&#1082;&#1086; &#1074;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1093; &#1076;&#1072;&#1085;&#1080;&#1093; (&#1090;&#1072;&#1082;&#1080;&#1093;, &#1103;&#1082; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1086;&#1082;, &#1086;&#1087;&#1080;&#1089; &#1110; &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103;) &#1091; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1110;&#1081; &#1087;&#1086;&#1089;&#1083;&#1110;&#1076;&#1086;&#1074;&#1085;&#1086;&#1089;&#1090;&#1110;.\u003C/p>\n\u003Cp>\u003Ccode>public class HtmlParser {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; private static WebClient createWebClient() {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; WebClient webClient = new WebClient();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; webClient.getOptions().setJavaScriptEnabled(false);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; webClient.getOptions().setCssEnabled(false);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; return webClient;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; }\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>6. &#1057;&#1090;&#1074;&#1086;&#1088;&#1102;&#1108;&#1084;&#1086; &#1084;&#1077;&#1090;&#1086;&#1076; &#1076;&#1083;&#1103; &#1074;&#1080;&#1090;&#1103;&#1075;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103; HTML &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; HtmlUnit:\u003C/p>\n\u003Cp>\u003Ccode>public static HtmlPage fetchHtmlPage(String url) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; try (WebClient webClient = createWebClient()) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; return webClient.getPage(url);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; } catch (Exception e) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; e.printStackTrace();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; return null;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; }\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>7. &#1057;&#1090;&#1074;&#1086;&#1088;&#1102;&#1108;&#1084;&#1086; &#1084;&#1077;&#1090;&#1086;&#1076; &#1076;&#1083;&#1103; &#1087;&#1072;&#1088;&#1089;&#1080;&#1085;&#1075;&#1091; HTML-&#1082;&#1086;&#1085;&#1090;&#1077;&#1085;&#1090;&#1091; &#1079; JSoup:\u003C/p>\n\u003Cp>\u003Ccode>public static Document parseHtmlContent(String htmlContent) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; return Jsoup.parse(htmlContent);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>8. &#1055;&#1088;&#1086;&#1076;&#1086;&#1074;&#1078;&#1091;&#1108;&#1084;&#1086; &#1087;&#1088;&#1072;&#1094;&#1102;&#1074;&#1072;&#1090;&#1080; &#1079; HTML:&nbsp;\u003C/p>\n\u003Cp>\u003Ccode>public static void extractInformation(Document document) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1042;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1080; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1102; &#1079; &#1087;&#1088;&#1086;&#1072;&#1085;&#1072;&#1083;&#1110;&#1079;&#1086;&#1074;&#1072;&#1085;&#1086;&#1075;&#1086; HTML-&#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;&#1072; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; &#1084;&#1077;&#1090;&#1086;&#1076;&#1110;&#1074; JSoup\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, document.select(\"a[href]\"), document.select(\"img[src$=.png]\")\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1044;&#1083;&#1103; &#1073;&#1110;&#1083;&#1100;&#1096; &#1076;&#1077;&#1090;&#1072;&#1083;&#1100;&#1085;&#1086;&#1111; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111; &#1079;&#1074;&#1077;&#1088;&#1085;&#1110;&#1090;&#1100;&#1089;&#1103; &#1076;&#1086; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;&#1072;&#1094;&#1110;&#1111; JSoup: https://jsoup.org/cookbook/\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>9. &#1057;&#1090;&#1074;&#1086;&#1088;&#1102;&#1108;&#1084;&#1086; &#1084;&#1077;&#1090;&#1086;&#1076; &#1076;&#1083;&#1103; &laquo;&#1074;&#1080;&#1090;&#1103;&#1075;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103;&raquo; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111; &#1079; HTML:\u003C/p>\n\u003Cp>\u003Ccode>public static void main(String[] args) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; String url = \"https://www.example.com\";\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; HtmlPage htmlPage = fetchHtmlPage(url);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; if (htmlPage != null) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; String htmlContent = htmlPage.asXml();\u003C/code>\u003C/p>\n\u003Cp>&#1071;&#1082; &#1074;&#1080;&#1076;&#1085;&#1086;, &#1074;&#1089;&#1110; &#1094;&#1110; &#1082;&#1088;&#1086;&#1082;&#1080; &mdash; &#1079;&#1086;&#1074;&#1089;&#1110;&#1084; &#1085;&#1077; &#1073;&#1110;&#1085;&#1086;&#1084; &#1053;&#1100;&#1102;&#1090;&#1086;&#1085;&#1072;. &#1055;&#1088;&#1080;&#1085;&#1072;&#1081;&#1084;&#1085;&#1110;, &#1103;&#1082;&#1097;&#1086; &#1087;&#1086;&#1082;&#1083;&#1072;&#1089;&#1090;&#1080;&#1089;&#1103; &#1085;&#1072; &#1076;&#1086;&#1089;&#1074;&#1110;&#1076; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072; Dexodata&nbsp;&#1079; &#1087;&#1091;&#1083;&#1086;&#1084; &#1072;&#1076;&#1088;&#1077;&#1089; &#1076;&#1083;&#1103; &#1086;&#1088;&#1077;&#1085;&#1076;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1087;&#1086; &#1074;&#1089;&#1100;&#1086;&#1084;&#1091; &#1089;&#1074;&#1110;&#1090;&#1091;.&nbsp;\u003C/p>\n\u003Cp>&#1055;&#1086;&#1087;&#1077;&#1088;&#1077;&#1076;&#1085;&#1103; &#1095;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072; &#1086;&#1093;&#1086;&#1087;&#1083;&#1102;&#1074;&#1072;&#1083;&#1072; &#1087;&#1110;&#1076;&#1075;&#1086;&#1090;&#1086;&#1074;&#1095;&#1110; &#1079;&#1072;&#1093;&#1086;&#1076;&#1080; &#1079;&#1072;&#1075;&#1072;&#1083;&#1100;&#1085;&#1086;&#1075;&#1086; &#1087;&#1086;&#1088;&#1103;&#1076;&#1082;&#1091;: &#1074;&#1080;&#1090;&#1103;&#1075;&#1085;&#1077;&#1085;&#1085;&#1102; HTML-&#1074;&#1084;&#1110;&#1089;&#1090;&#1091; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; HtmlUnit &#1110; &#1088;&#1086;&#1073;&#1086;&#1090;&#1110; &#1079; &#1085;&#1080;&#1084; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; JSoup.\u003C/p>\n\u003Cp>&#1058;&#1077;&#1087;&#1077;&#1088; &#1079;&#1086;&#1089;&#1077;&#1088;&#1077;&#1076;&#1080;&#1084;&#1086;&#1089;&#1103; &#1085;&#1072; &laquo;&#1074;&#1080;&#1090;&#1103;&#1075;&#1091;&#1074;&#1072;&#1085;&#1085;&#1110;&raquo; &#1073;&#1110;&#1083;&#1100;&#1096; &#1082;&#1086;&#1085;&#1082;&#1088;&#1077;&#1090;&#1085;&#1080;&#1093; &#1110; &#1089;&#1087;&#1077;&#1094;&#1080;&#1092;&#1110;&#1095;&#1085;&#1080;&#1093; &#1076;&#1072;&#1085;&#1080;&#1093;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1082;&#1110;&#1074;, &#1086;&#1087;&#1080;&#1089;&#1110;&#1074; &#1110; &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1100;. &#1065;&#1086;&#1073; &#1094;&#1077; &#1079;&#1088;&#1086;&#1073;&#1080;&#1090;&#1080;, &#1090;&#1088;&#1077;&#1073;&#1072; &#1089;&#1087;&#1086;&#1095;&#1072;&#1090;&#1082;&#1091; &#1110;&#1076;&#1077;&#1085;&#1090;&#1080;&#1092;&#1110;&#1082;&#1091;&#1074;&#1072;&#1090;&#1080; HTML-&#1090;&#1077;&#1075;&#1080; &#1110; &#1072;&#1090;&#1088;&#1080;&#1073;&#1091;&#1090;&#1080;, &#1087;&#1086;&#1074;'&#1103;&#1079;&#1072;&#1085;&#1110; &#1079; &#1094;&#1080;&#1084;&#1080; &#1082;&#1086;&#1084;&#1087;&#1086;&#1085;&#1077;&#1085;&#1090;&#1072;&#1084;&#1080;. &#1058;&#1086;&#1073;&#1090;&#1086;, &#1085;&#1077;&#1086;&#1073;&#1093;&#1110;&#1076;&#1085;&#1086; &#1089;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1103; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1072;&#1084;&#1080; &#1088;&#1086;&#1079;&#1088;&#1086;&#1073;&#1085;&#1080;&#1082;&#1072;, &#1097;&#1086; &#1084;&#1110;&#1089;&#1090;&#1103;&#1090;&#1100;&#1089;&#1103; &#1074; &#1074;&#1077;&#1073;-&#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088;&#1072;&#1093;, &#1110; &laquo;&#1087;&#1088;&#1086;&#1089;&#1082;&#1072;&#1085;&#1091;&#1074;&#1072;&#1090;&#1080;&raquo; &#1074;&#1080;&#1093;&#1110;&#1076;&#1085;&#1080;&#1081; HTML &#1085;&#1072; &#1087;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090; &#1088;&#1086;&#1079;&#1090;&#1072;&#1096;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103; &#1110; &#1086;&#1092;&#1086;&#1088;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1090;&#1072;&#1082;&#1080;&#1093; &#1082;&#1086;&#1084;&#1087;&#1086;&#1085;&#1077;&#1085;&#1090;&#1110;&#1074;.\u003C/p>\n\u003Cp style=\"text-align: center;\">\u003Cimg src=\"https://blog.dexodata.com/storage/uploads/images/91/14-1-2-geo-targeted-proxies-using-java-for-data-scraping-pic-1032x491-3f649151-e240-4398-9fae-e8a88138bee4.png\" alt=\"&#1043;&#1072;&#1081;&#1076; &#1087;&#1086; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1072;&#1085;&#1085;&#1102; Java &#1076;&#1083;&#1103; &#1079;&#1073;&#1086;&#1088;&#1091; &#1076;&#1072;&#1085;&#1080;&#1093; &#1095;&#1077;&#1088;&#1077;&#1079; &#1089;&#1072;&#1081;&#1090; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;.\" width=\"1032\" height=\"491\">\u003C/p>\n\u003Cp>10. &#1059;&#1103;&#1074;&#1110;&#1084;&#1086; &#1090;&#1080;&#1087;&#1086;&#1074;&#1091; &#1089;&#1080;&#1090;&#1091;&#1072;&#1094;&#1110;&#1102; &#1079; &#1074;&#1077;&#1073;-&#1084;&#1072;&#1075;&#1072;&#1079;&#1080;&#1085;&#1086;&#1084;. &#1055;&#1110;&#1089;&#1083;&#1103; &#1090;&#1086;&#1075;&#1086; &#1103;&#1082; &#1110;&#1076;&#1077;&#1085;&#1090;&#1080;&#1092;&#1110;&#1082;&#1086;&#1074;&#1072;&#1085;&#1110; &#1074;&#1089;&#1110; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1110; &#1082;&#1086;&#1084;&#1087;&#1086;&#1085;&#1077;&#1085;&#1090;&#1080; HTML, &#1087;&#1088;&#1080;&#1093;&#1086;&#1076;&#1080;&#1090;&#1100; &#1095;&#1072;&#1089; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1074;&#1072;&#1090;&#1080; &#1088;&#1086;&#1079;&#1096;&#1080;&#1088;&#1077;&#1085;&#1110; &#1084;&#1086;&#1078;&#1083;&#1080;&#1074;&#1086;&#1089;&#1090;&#1110; JSoup &#1076;&#1083;&#1103; &#1086;&#1090;&#1088;&#1080;&#1084;&#1072;&#1085;&#1085;&#1103; &#1090;&#1072;&#1082;&#1080;&#1093; &#1076;&#1072;&#1085;&#1080;&#1093;.&nbsp;\u003C/p>\n\u003Cp>&#1055;&#1088;&#1080;&#1087;&#1091;&#1089;&#1090;&#1080;&#1084;&#1086;, &#1097;&#1086; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1086;&#1082; &#1079;&#1085;&#1072;&#1093;&#1086;&#1076;&#1080;&#1090;&#1100;&#1089;&#1103; &#1074; &#1090;&#1077;&#1075;&#1091; &lt;h1&gt;, &#1086;&#1087;&#1080;&#1089; &mdash; &#1074; &#1090;&#1077;&#1075;&#1091; &lt;div&gt; &#1079; &#1082;&#1083;&#1072;&#1089;&#1086;&#1084; &laquo;product-description&raquo;, &#1072; &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103; &mdash; &#1074; &#1090;&#1077;&#1075;&#1091; &lt;img&gt; &#1079; &#1082;&#1083;&#1072;&#1089;&#1086;&#1084; &laquo;product-image&raquo;. &#1055;&#1088;&#1086;&#1089;&#1090;&#1072;&#1074;&#1090;&#1077; &#1094;&#1110; &#1072;&#1090;&#1088;&#1080;&#1073;&#1091;&#1090;&#1080; &#1074; &#1082;&#1086;&#1076;&#1110;, &#1103;&#1082; &#1079;&#1088;&#1086;&#1073;&#1083;&#1077;&#1085;&#1086; &#1091; &#1092;&#1088;&#1072;&#1075;&#1084;&#1077;&#1085;&#1090;&#1110; &#1085;&#1080;&#1078;&#1095;&#1077;. &#1071;&#1082; &#1074;&#1080;&#1076;&#1085;&#1086;, &#1079;&#1072;&#1089;&#1090;&#1086;&#1089;&#1086;&#1074;&#1091;&#1108;&#1090;&#1100;&#1089;&#1103; &#1084;&#1077;&#1090;&#1086;&#1076; extractInformation():\u003C/p>\n\u003Cp>\u003Ccode>public static void extractInformation(Document document) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1042;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1080; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1086;&#1082;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; String title = document.select(\"h1\").text();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; System.out.println(\"Title: \" + title);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1042;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1080; &#1086;&#1087;&#1080;&#1089;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; String description = document.select(\"div.product-description\").text();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; System.out.println(\"Description: \" + description);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1042;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1080; URL &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; String imageUrl = document.select(\"img.product-image\").attr(\"src\");\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; System.out.println(\"Image URL: \" + imageUrl);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>11. &#1071;&#1082;&#1097;&#1086; &#1089;&#1072;&#1081;&#1090;, &#1079; &#1103;&#1082;&#1080;&#1084; &#1074;&#1110;&#1076;&#1073;&#1091;&#1074;&#1072;&#1108;&#1090;&#1100;&#1089;&#1103; &#1088;&#1086;&#1073;&#1086;&#1090;&#1072;, &#1079;&#1072;&#1074;'&#1103;&#1079;&#1072;&#1085;&#1080;&#1081; &#1085;&#1072; JavaScript &#1076;&#1083;&#1103; \u003Ca href=\"https://ru.wikipedia.org/wiki/%D0%94%D0%B8%D0%BD%D0%B0%D0%BC%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D1%81%D0%B0%D0%B9%D1%82\" target=\"_blank\" rel=\"noopener\">&#1076;&#1080;&#1085;&#1072;&#1084;&#1110;&#1095;&#1085;&#1086;&#1111; &#1079;&#1072;&#1074;&#1072;&#1085;&#1090;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103; &#1082;&#1086;&#1085;&#1090;&#1077;&#1085;&#1090;&#1091;\u003C/a>, &#1090;&#1088;&#1077;&#1073;&#1072; &#1072;&#1082;&#1090;&#1080;&#1074;&#1091;&#1074;&#1072;&#1090;&#1080; &#1074; HtmlUnit &#1087;&#1110;&#1076;&#1090;&#1088;&#1080;&#1084;&#1082;&#1091; JS. &#1047;&#1088;&#1086;&#1073;&#1080;&#1090;&#1080; &#1094;&#1077; &#1084;&#1086;&#1078;&#1085;&#1072; &#1079;&#1072; &#1088;&#1072;&#1093;&#1091;&#1085;&#1086;&#1082; &#1086;&#1089;&#1100; &#1090;&#1072;&#1082;&#1086;&#1111; &#1084;&#1072;&#1085;&#1110;&#1087;&#1091;&#1083;&#1103;&#1094;&#1110;&#1111; &#1079; &#1084;&#1077;&#1090;&#1086;&#1076;&#1086;&#1084; &laquo;createWebClient()&raquo;:\u003C/p>\n\u003Cp>\u003Ccode>private static WebClient createWebClient() {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; WebClient webClient = new WebClient();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; webClient.getOptions().setJavaScriptEnabled(true);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; webClient.getOptions().setCssEnabled(false);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; webClient.getOptions().setThrowExceptionOnScriptError(false);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; webClient.waitForBackgroundJavaScript(5000); // &#1063;&#1077;&#1082;&#1072;&#1090;&#1080;, &#1087;&#1086;&#1082;&#1080; JavaScript &#1079;&#1072;&#1082;&#1110;&#1085;&#1095;&#1080;&#1090;&#1100; &#1079;&#1072;&#1074;&#1072;&#1085;&#1090;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; return webClient;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>&#1047;&#1074;&#1077;&#1088;&#1085;&#1110;&#1090;&#1100; &#1091;&#1074;&#1072;&#1075;&#1091;: &#1074;&#1082;&#1083;&#1102;&#1095;&#1077;&#1085;&#1085;&#1103; JavaScript &#1084;&#1086;&#1078;&#1077; &#1079;&#1073;&#1110;&#1083;&#1100;&#1096;&#1080;&#1090;&#1080; &#1095;&#1072;&#1089; &#1079;&#1072;&#1074;&#1072;&#1085;&#1090;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103; &#1110; &#1089;&#1090;&#1074;&#1086;&#1088;&#1080;&#1090;&#1080; &#1088;&#1080;&#1079;&#1080;&#1082; &#1087;&#1086;&#1084;&#1080;&#1083;&#1086;&#1082;. Dexodata, &#1103;&#1082; &#1089;&#1072;&#1081;&#1090; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;, &#1074; &#1082;&#1091;&#1088;&#1089;&#1110; &#1088;&#1077;&#1075;&#1091;&#1083;&#1103;&#1088;&#1085;&#1080;&#1093; &#1089;&#1082;&#1072;&#1088;&#1075; &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1110;&#1074; &#1085;&#1072; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1080; &#1095;&#1077;&#1088;&#1077;&#1079; JS, &#1086;&#1076;&#1085;&#1072;&#1082; &#1087;&#1086;&#1076;&#1110;&#1073;&#1085;&#1110; &#1089;&#1080;&#1090;&#1091;&#1072;&#1094;&#1110;&#1111; &#1085;&#1077;&#1084;&#1080;&#1085;&#1091;&#1095;&#1110; &#1087;&#1088;&#1080; &#1088;&#1086;&#1073;&#1086;&#1090;&#1110; &#1079; &#1076;&#1080;&#1085;&#1072;&#1084;&#1110;&#1095;&#1085;&#1080;&#1084;&#1080; &#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1082;&#1072;&#1084;&#1080;.\u003C/p>\n\u003Cp>12. &#1055;&#1110;&#1089;&#1083;&#1103; &#1086;&#1090;&#1088;&#1080;&#1084;&#1072;&#1085;&#1085;&#1103; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1082;&#1110;&#1074;, &#1086;&#1087;&#1080;&#1089;&#1110;&#1074; &#1110; &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1100; &#1084;&#1086;&#1078;&#1077; &#1074;&#1080;&#1085;&#1080;&#1082;&#1085;&#1091;&#1090;&#1080; &#1087;&#1086;&#1090;&#1088;&#1077;&#1073;&#1072; &#1079;&#1073;&#1077;&#1088;&#1077;&#1075;&#1090;&#1080; &#1094;&#1102; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1102; &#1076;&#1083;&#1103; &#1087;&#1086;&#1076;&#1072;&#1083;&#1100;&#1096;&#1086;&#1075;&#1086; &#1072;&#1085;&#1072;&#1083;&#1110;&#1079;&#1091; &#1072;&#1073;&#1086; &#1086;&#1073;&#1088;&#1086;&#1073;&#1082;&#1080;.\u003C/p>\n\u003Cp>&#1055;&#1086;&#1096;&#1080;&#1088;&#1077;&#1085;&#1080;&#1084; &#1084;&#1077;&#1090;&#1086;&#1076;&#1086;&#1084; &#1108; &#1079;&#1073;&#1077;&#1088;&#1110;&#1075;&#1072;&#1085;&#1085;&#1103; &#1079;&#1110;&#1073;&#1088;&#1072;&#1085;&#1086;&#1111; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111; &#1091; &#1092;&#1072;&#1081;&#1083;&#1072;&#1093; CSV, JSON &#1072;&#1073;&#1086; XML. &#1059; &#1094;&#1100;&#1086;&#1084;&#1091; &#1089;&#1094;&#1077;&#1085;&#1072;&#1088;&#1110;&#1111; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072; Dexodata &#1079;&#1073;&#1077;&#1088;&#1077;&#1078;&#1077; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1102; &#1074; \u003Ca href=\"https://ru.wikipedia.org/wiki/CSV\" target=\"_blank\" rel=\"noopener\">&#1092;&#1072;&#1081;&#1083;&#1110; CSV\u003C/a>. &#1062;&#1077; &#1074;&#1110;&#1076;&#1073;&#1091;&#1074;&#1072;&#1108;&#1090;&#1100;&#1089;&#1103; &#1085;&#1072;&#1089;&#1090;&#1091;&#1087;&#1085;&#1080;&#1084; &#1095;&#1080;&#1085;&#1086;&#1084;.\u003C/p>\n\u003Cp>&#1057;&#1090;&#1074;&#1086;&#1088;&#1102;&#1108;&#1084;&#1086; &#1084;&#1077;&#1090;&#1086;&#1076; &#1090;&#1088;&#1072;&#1085;&#1089;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111; &#1074; CSV:\u003C/p>\n\u003Cp>\u003Ccode>import java.io.BufferedWriter;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>import java.io.FileWriter;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>import java.io.IOException;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>public static void writeToCSV(String title, String description, String imageUrl, String outputFilePath) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; try (BufferedWriter writer = new BufferedWriter(new FileWriter(outputFilePath, true))) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; String csvLine = String.join(\",\", \"\\\"\" + title.replace(\"\\\"\", \"\\\"\\\"\") + \"\\\"\",\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"\\\"\" + description.replace(\"\\\"\", \"\\\"\\\"\") + \"\\\"\",\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"\\\"\" + imageUrl.replace(\"\\\"\", \"\\\"\\\"\") + \"\\\"\");\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; writer.write(csvLine);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; writer.newLine();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; } catch (IOException e) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; e.printStackTrace();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; }\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>&#1062;&#1077;&#1081; &#1087;&#1110;&#1076;&#1093;&#1110;&#1076; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1108; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1086;&#1082;, &#1086;&#1087;&#1080;&#1089;, imageUrl, &#1072; &#1090;&#1072;&#1082;&#1086;&#1078; outputFilePath &#1074; &#1103;&#1082;&#1086;&#1089;&#1090;&#1110; &#1074;&#1093;&#1110;&#1076;&#1085;&#1080;&#1093; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1110;&#1074;.\u003C/p>\n\u003Cp>13. &#1054;&#1085;&#1086;&#1074;&#1110;&#1090;&#1100; &laquo;extractInformation()&raquo;, &#1097;&#1086;&#1073; &#1074;&#1080;&#1082;&#1083;&#1080;&#1082;&#1072;&#1090;&#1080; &#1084;&#1077;&#1090;&#1086;&#1076; &laquo;writeToCSV()&raquo; &#1076;&#1083;&#1103; &#1088;&#1086;&#1073;&#1086;&#1090;&#1080; &#1079; &#1074;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1086;&#1102; &#1088;&#1072;&#1085;&#1110;&#1096;&#1077; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1108;&#1102;:\u003C/p>\n\u003Cp>\u003Ccode>public static void extractInformation(Document document, String outputFilePath) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1042;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1080; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1086;&#1082;, &#1086;&#1087;&#1080;&#1089; &#1110; URL &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103;, &#1103;&#1082; &#1110; &#1088;&#1072;&#1085;&#1110;&#1096;&#1077;\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; // &#1047;&#1072;&#1087;&#1080;&#1089;&#1072;&#1090;&#1080; &#1074;&#1080;&#1090;&#1103;&#1075;&#1085;&#1091;&#1090;&#1110; &#1076;&#1072;&#1085;&#1110; &#1091; &#1092;&#1072;&#1081;&#1083; CSV\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; writeToCSV(title, description, imageUrl, outputFilePath);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>14. &#1058;&#1072;&#1082;&#1086;&#1078; &#1084;&#1086;&#1076;&#1080;&#1092;&#1110;&#1082;&#1091;&#1081;&#1090;&#1077; &#1086;&#1089;&#1085;&#1086;&#1074;&#1085;&#1080;&#1081; &#1084;&#1077;&#1090;&#1086;&#1076;, &#1097;&#1086;&#1073; &#1086;&#1093;&#1086;&#1087;&#1080;&#1090;&#1080; &#1096;&#1083;&#1103;&#1093; &#1076;&#1086; &#1074;&#1080;&#1093;&#1110;&#1076;&#1085;&#1086;&#1075;&#1086; &#1092;&#1072;&#1081;&#1083;&#1091; &#1110; &#1087;&#1077;&#1088;&#1077;&#1076;&#1072;&#1090;&#1080; &#1081;&#1086;&#1075;&#1086; \u003Ccode>&laquo;extractInformation()&raquo;\u003C/code>:\u003C/p>\n\u003Cp>\u003Ccode>public static void main(String[] args) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; String url = \"https://www.example.com\";\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; String outputFilePath = \"output.csv\";\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; HtmlPage htmlPage = fetchHtmlPage(url);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; if (htmlPage != null) {\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; String htmlContent = htmlPage.asXml();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; Document document = parseHtmlContent(htmlContent);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; &nbsp; &nbsp; extractInformation(document, outputFilePath);\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>&nbsp; &nbsp; }\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>}\u003C/code>\u003C/p>\n\u003Cp>&#1058;&#1077;&#1087;&#1077;&#1088; &#1087;&#1088;&#1080; &#1079;&#1072;&#1087;&#1091;&#1089;&#1082;&#1091; &#1087;&#1072;&#1088;&#1089;&#1077;&#1088; &#1073;&#1077;&#1088;&#1077; &#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1086;&#1082;, &#1086;&#1087;&#1080;&#1089; &#1110; URL-&#1072;&#1076;&#1088;&#1077;&#1089;&#1091; &#1079;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1085;&#1103; &#1079;&#1110; &#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1082;&#1080; &#1110;&#1085;&#1090;&#1077;&#1088;&#1085;&#1077;&#1090;-&#1084;&#1072;&#1075;&#1072;&#1079;&#1080;&#1085;&#1091; &#1110; &#1079;&#1072;&#1087;&#1080;&#1089;&#1091;&#1108; &#1076;&#1072;&#1085;&#1110; &#1074; &#1074;&#1082;&#1072;&#1079;&#1072;&#1085;&#1080;&#1081; CSV-&#1092;&#1072;&#1081;&#1083;. &#1028; &#1090;&#1072;&#1082;&#1086;&#1078; &#1084;&#1086;&#1078;&#1083;&#1080;&#1074;&#1110;&#1089;&#1090;&#1100; &#1076;&#1086;&#1076;&#1072;&#1090;&#1082;&#1086;&#1074;&#1086; &#1085;&#1072;&#1083;&#1072;&#1096;&#1090;&#1091;&#1074;&#1072;&#1090;&#1080; &#1092;&#1086;&#1088;&#1084;&#1072;&#1090; &#1074;&#1080;&#1093;&#1086;&#1076;&#1091; &#1092;&#1072;&#1081;&#1083;&#1091;, &#1076;&#1086;&#1076;&#1072;&#1090;&#1080; &#1087;&#1110;&#1076;&#1079;&#1072;&#1075;&#1086;&#1083;&#1086;&#1074;&#1082;&#1080; &#1072;&#1073;&#1086; &#1078; &#1079;&#1073;&#1077;&#1088;&#1077;&#1075;&#1090;&#1080; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1102; &#1074; JSON &#1072;&#1073;&#1086; XML.\u003C/p>\n\u003Cp>&#1055;&#1088;&#1086;&#1090;&#1077;&#1089;&#1090;&#1091;&#1081;&#1090;&#1077; &#1089;&#1074;&#1110;&#1081; &#1087;&#1072;&#1088;&#1089;&#1077;&#1088;, &#1079;&#1072;&#1089;&#1090;&#1086;&#1089;&#1091;&#1074;&#1072;&#1074;&#1096;&#1080; &#1075;&#1086;&#1083;&#1086;&#1074;&#1085;&#1080;&#1081; &#1084;&#1077;&#1090;&#1086;&#1076; &#1085;&#1072; URL-&#1072;&#1076;&#1088;&#1077;&#1089;&#1080; &#1110;&#1085;&#1090;&#1077;&#1088;&#1085;&#1077;&#1090;-&#1084;&#1072;&#1075;&#1072;&#1079;&#1080;&#1085;&#1091;. &#1054;&#1073;&#1086;&#1074;'&#1103;&#1079;&#1082;&#1086;&#1074;&#1086; &#1085;&#1072;&#1083;&#1072;&#1096;&#1090;&#1091;&#1081;&#1090;&#1077; &#1089;&#1077;&#1083;&#1077;&#1082;&#1090;&#1086;&#1088;&#1080; JSoup &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1085;&#1086; &#1076;&#1086; &#1088;&#1077;&#1072;&#1083;&#1100;&#1085;&#1086;&#1111; &#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1091;&#1088;&#1080; &#1081;&#1086;&#1075;&#1086; &#1089;&#1090;&#1086;&#1088;&#1110;&#1085;&#1086;&#1082;. &#1055;&#1072;&#1088;&#1089;&#1077;&#1088; &#1079;&#1072;&#1074;&#1078;&#1076;&#1080; &#1084;&#1086;&#1078;&#1085;&#1072; &#1087;&#1088;&#1086;&#1072;&#1087;&#1075;&#1088;&#1077;&#1081;&#1076;&#1080;&#1090;&#1080;, &#1097;&#1086;&#1073; &#1074;&#1080;&#1090;&#1103;&#1075;&#1090;&#1080; &#1076;&#1086;&#1076;&#1072;&#1090;&#1082;&#1086;&#1074;&#1091; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1102;: &#1094;&#1110;&#1085;&#1080;, &#1089;&#1087;&#1077;&#1094;&#1080;&#1092;&#1110;&#1082;&#1072;&#1094;&#1110;&#1111; &#1072;&#1073;&#1086; &#1074;&#1110;&#1076;&#1075;&#1091;&#1082;&#1080; &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1110;&#1074;.&nbsp;\u003C/p>\n\u003Cp>\u003Ca href=\"https://dexodata.com/ru/retail\" target=\"_blank\" rel=\"noopener\">&#1040;&#1085;&#1072;&#1083;&#1110;&#1079; &#1073;&#1110;&#1079;&#1085;&#1077;&#1089;-&#1076;&#1072;&#1085;&#1080;&#1093; &#1091; &#1089;&#1092;&#1077;&#1088;&#1110; e-commerce\u003C/a> &#1108; &#1086;&#1076;&#1085;&#1080;&#1084; &#1079; &#1082;&#1083;&#1102;&#1095;&#1086;&#1074;&#1080;&#1093; &#1089;&#1094;&#1077;&#1085;&#1072;&#1088;&#1110;&#1111;&#1074; &#1076;&#1083;&#1103; \u003Ca href=\"https://dexodata.com/ru/blog/geotargeting-proksi-cto-eto-i-zacem-nuzno\" target=\"_blank\" rel=\"noopener\">&#1086;&#1088;&#1077;&#1085;&#1076;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1079; &#1075;&#1077;&#1086;&#1090;&#1072;&#1088;&#1075;&#1077;&#1090;&#1080;&#1085;&#1075;&#1086;&#1084;\u003C/a> &#1074;&#1110;&#1076; &#1089;&#1072;&#1081;&#1090;&#1091; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072; Dexodata. &#1058;&#1086;&#1078; &#1085;&#1072;&#1096;&#1072; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; &#1079;&#1085;&#1072;&#1108;, &#1085;&#1072;&#1089;&#1082;&#1110;&#1083;&#1100;&#1082;&#1080; &#1082;&#1086;&#1088;&#1080;&#1089;&#1085;&#1080;&#1084; &#1084;&#1086;&#1078;&#1077; &#1073;&#1091;&#1090;&#1080; &#1090;&#1072;&#1082;&#1080;&#1081; &#1110;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;.&nbsp;\u003C/p>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor4\">\u003C/a>&#1058;&#1086;&#1085;&#1082;&#1086;&#1097;&#1110; &#1079;&#1072;&#1087;&#1080;&#1090;&#1110;&#1074;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#1053;&#1072;&#1076;&#1089;&#1080;&#1083;&#1072;&#1090;&#1080; &#1079;&#1072;&#1087;&#1080;&#1090;&#1080; &#1085;&#1072; &#1074;&#1080;&#1090;&#1103;&#1075; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111; &mdash; &#1073;&#1072;&#1079;&#1086;&#1074;&#1072; &#1084;&#1077;&#1090;&#1072; &#1089;&#1082;&#1088;&#1077;&#1081;&#1087;&#1110;&#1085;&#1075;&#1086;&#1074;&#1080;&#1093; &#1087;&#1088;&#1086;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; Java. &#1065;&#1086;&#1076;&#1086; &#1073;&#1110;&#1073;&#1083;&#1110;&#1086;&#1090;&#1077;&#1082;&#1080; JSoup, &#1110;&#1089;&#1085;&#1091;&#1108; &#1082;&#1110;&#1083;&#1100;&#1082;&#1072; &#1089;&#1087;&#1086;&#1089;&#1086;&#1073;&#1110;&#1074; &#1086;&#1090;&#1088;&#1080;&#1084;&#1072;&#1085;&#1085;&#1103; &#1094;&#1110;&#1082;&#1072;&#1074;&#1080;&#1093; &#1085;&#1072;&#1084; &#1082;&#1086;&#1084;&#1087;&#1086;&#1085;&#1077;&#1085;&#1090;&#1110;&#1074;. &#1062;&#1110; &#1084;&#1077;&#1090;&#1086;&#1076;&#1080; &#1074;&#1082;&#1083;&#1102;&#1095;&#1072;&#1102;&#1090;&#1100; getElementByID &#1072;&#1073;&#1086; getElementsByTag. &#1047; &#1111;&#1093; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; &#1089;&#1077;&#1088;&#1081;&#1086;&#1079;&#1085;&#1086; &#1089;&#1087;&#1088;&#1086;&#1097;&#1091;&#1108;&#1090;&#1100;&#1089;&#1103; &#1088;&#1086;&#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1073;&#1072;&#1079;&#1110; DOM-&#1084;&#1077;&#1090;&#1086;&#1076;&#1110;&#1074;.&nbsp;\u003C/p>\n\u003Cp>&#1053;&#1072;&#1096; &#1089;&#1094;&#1077;&#1085;&#1072;&#1088;&#1110;&#1081; &#1076;&#1086;&#1079;&#1074;&#1086;&#1083;&#1103;&#1108; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1074;&#1072;&#1090;&#1080; &#1103;&#1082; getElementByID, &#1090;&#1072;&#1082; &#1110; getElementsByClass. &#1047;&#1074;&#1077;&#1088;&#1085;&#1110;&#1090;&#1100; &#1091;&#1074;&#1072;&#1075;&#1091; &#1085;&#1072; &#1074;&#1072;&#1078;&#1083;&#1080;&#1074;&#1091; &#1074;&#1110;&#1076;&#1084;&#1110;&#1085;&#1085;&#1110;&#1089;&#1090;&#1100;. &#1059; &#1090;&#1086;&#1081; &#1095;&#1072;&#1089; &#1103;&#1082; getElementByID (&#1074; &#1086;&#1076;&#1085;&#1080;&#1085;&#1110;) &#1087;&#1088;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1081; &#1076;&#1083;&#1103; &#1074;&#1080;&#1076;&#1072;&#1095;&#1110; &#1086;&#1076;&#1085;&#1086;&#1075;&#1086; &#1086;&#1073;'&#1108;&#1082;&#1090;&#1072; Element, &#1090;&#1086; &#1079; getElementsByClass (&#1095;&#1080;&#1089;&#1083;&#1086; &#1074;&#1078;&#1077; &#1084;&#1085;&#1086;&#1078;&#1080;&#1085;&#1085;&#1077;) &#1073;&#1091;&#1076;&#1077; &#1074;&#1080;&#1076;&#1072;&#1085;&#1086; Array-&#1089;&#1087;&#1080;&#1089;&#1086;&#1082;, &#1097;&#1086; &#1084;&#1110;&#1089;&#1090;&#1080;&#1090;&#1100; &#1074;&#1089;&#1110; &#1087;&#1110;&#1076;&#1093;&#1086;&#1076;&#1103;&#1097;&#1110; &#1086;&#1073;'&#1108;&#1082;&#1090;&#1080; Element.\u003C/p>\n\u003Cp>&#1047;&#1088;&#1091;&#1095;&#1085;&#1086;, &#1097;&#1086; &#1074; JSoup &#1108; &#1082;&#1083;&#1072;&#1089; Elements. &#1047;&#1072;&#1074;&#1076;&#1103;&#1082;&#1080; &#1081;&#1086;&#1084;&#1091;, Array-&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &lt;Element&gt; &#1084;&#1086;&#1078;&#1077; &#1073;&#1091;&#1090;&#1080; &#1088;&#1086;&#1079;&#1096;&#1080;&#1088;&#1077;&#1085;&#1080;&#1081;. &#1042; &#1088;&#1077;&#1079;&#1091;&#1083;&#1100;&#1090;&#1072;&#1090;&#1110; &#1082;&#1086;&#1076; &#1089;&#1090;&#1072;&#1085;&#1077; &#1072;&#1082;&#1091;&#1088;&#1072;&#1090;&#1085;&#1110;&#1096;&#1080;&#1084; &#1110; &#1095;&#1080;&#1089;&#1090;&#1110;&#1096;&#1080;&#1084; &#1110; &#1079;&#1072;&#1073;&#1077;&#1079;&#1087;&#1077;&#1095;&#1080;&#1090;&#1100; &#1076;&#1086;&#1076;&#1072;&#1090;&#1082;&#1086;&#1074;&#1110; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1111;.&nbsp;\u003C/p>\n\u003Cp>&#1058;&#1072;&#1082;, &#1091;&#1088;&#1080;&#1074;&#1086;&#1082;, &#1087;&#1086;&#1082;&#1072;&#1079;&#1072;&#1085;&#1080;&#1081; &#1085;&#1080;&#1078;&#1095;&#1077;, &#1079;&#1072;&#1089;&#1090;&#1086;&#1089;&#1091;&#1108; &#1090;&#1077;&#1093;&#1085;&#1110;&#1082;&#1091; first() &#1076;&#1083;&#1103; &#1074;&#1080;&#1076;&#1072;&#1095;&#1110; &#1087;&#1077;&#1088;&#1096;&#1086;&#1075;&#1086; &#1082;&#1086;&#1084;&#1087;&#1086;&#1085;&#1077;&#1085;&#1090;&#1072; &#1074; Array-&#1089;&#1087;&#1080;&#1089;&#1086;&#1082;. &#1071;&#1082; &#1090;&#1110;&#1083;&#1100;&#1082;&#1080; &#1094;&#1077;&#1081; &#1082;&#1088;&#1086;&#1082; &#1079;&#1088;&#1086;&#1073;&#1083;&#1077;&#1085;&#1086;, &#1084;&#1077;&#1090;&#1086;&#1076; text() &#1074;&#1080;&#1090;&#1103;&#1075;&#1085;&#1077; &#1076;&#1083;&#1103; &#1085;&#1072;&#1089; &#1079; &#1085;&#1100;&#1086;&#1075;&#1086; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1080;&#1081; &#1090;&#1077;&#1082;&#1089;&#1090;&#1086;&#1074;&#1080;&#1081; &#1082;&#1086;&#1085;&#1090;&#1077;&#1085;&#1090;.\u003C/p>\n\u003Cp>\u003Ccode>Element firstHeading = document.getElementsByClass(\"firstHeading\").first();\u003C/code>\u003C/p>\n\u003Cp>\u003Ccode>System.out.println(firstHeading.text());&nbsp;\u003C/code>\u003C/p>\n\u003Cp>&#1055;&#1072;&#1088;&#1072;&#1083;&#1077;&#1083;&#1100;&#1085;&#1086;, &#1085;&#1077; &#1074;&#1072;&#1088;&#1090;&#1086; &#1090;&#1072;&#1082;&#1086;&#1078; &#1089;&#1082;&#1080;&#1076;&#1072;&#1090;&#1080; &#1079; &#1088;&#1072;&#1093;&#1091;&#1085;&#1082;&#1110;&#1074; &#1084;&#1077;&#1090;&#1086;&#1076; selectFirst(), &#1103;&#1082;&#1080;&#1081; &#1074;&#1080;&#1076;&#1072;&#1089;&#1090;&#1100; &#1085;&#1072;&#1084; &#1087;&#1077;&#1088;&#1096;&#1077; &#1078; &#1089;&#1087;&#1110;&#1074;&#1087;&#1072;&#1076;&#1110;&#1085;&#1085;&#1103;:\u003C/p>\n\u003Cp>\u003Ccode>Element firstHeading= document.selectFirst(\".firstHeading\");&nbsp;\u003C/code>\u003C/p>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor5\">\u003C/a>&#1042;&#1080;&#1089;&#1085;&#1086;&#1074;&#1086;&#1082;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#1056;&#1077;&#1079;&#1091;&#1083;&#1100;&#1090;&#1072;&#1090;&#1080;&#1074;&#1085;&#1110;&#1089;&#1090;&#1100; \u003Ca href=\"https://dexodata.com/ru/data-scraping\" target=\"_blank\" rel=\"noopener\">&#1072;&#1074;&#1090;&#1086;&#1084;&#1072;&#1090;&#1080;&#1079;&#1086;&#1074;&#1072;&#1085;&#1086;&#1075;&#1086; &#1079;&#1073;&#1086;&#1088;&#1091; &#1086;&#1085;&#1083;&#1072;&#1081;&#1085;-&#1076;&#1072;&#1085;&#1080;&#1093;\u003C/a> &mdash; &#1086;&#1089;&#1085;&#1086;&#1074;&#1085;&#1080;&#1081; &#1082;&#1088;&#1080;&#1090;&#1077;&#1088;&#1110;&#1081; &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1080;, &#1076;&#1086; &#1103;&#1082;&#1086;&#1111; &#1095;&#1072;&#1089; &#1074;&#1110;&#1076; &#1095;&#1072;&#1089;&#1091; &#1074;&#1076;&#1072;&#1108;&#1090;&#1100;&#1089;&#1103; &#1082;&#1086;&#1078;&#1085;&#1072; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1110;&#1103;. &#1052;&#1072;&#1090;&#1080; &#1085;&#1077;&#1086;&#1073;&#1093;&#1110;&#1076;&#1085;&#1080;&#1081; &#1088;&#1110;&#1074;&#1077;&#1085;&#1100; &#1079;&#1085;&#1072;&#1085;&#1100; &#1076;&#1083;&#1103; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1085;&#1103; &#1087;&#1072;&#1088;&#1089;&#1077;&#1088;&#1110;&#1074; &#1085;&#1072; &#1086;&#1089;&#1085;&#1086;&#1074;&#1110; Java &mdash; &#1089;&#1077;&#1088;&#1081;&#1086;&#1079;&#1085;&#1077; &#1087;&#1077;&#1088;&#1077;&#1074;&#1072;&#1075;&#1072; &#1074; &#1082;&#1086;&#1085;&#1082;&#1091;&#1088;&#1077;&#1085;&#1090;&#1085;&#1110;&#1081; &#1073;&#1086;&#1088;&#1086;&#1090;&#1100;&#1073;&#1110;. &#1030; &#1103;&#1082; &#1084;&#1086;&#1078;&#1091;&#1090;&#1100; &#1073;&#1072;&#1095;&#1080;&#1090;&#1080; &#1095;&#1080;&#1090;&#1072;&#1095;&#1110;, &#1085;&#1110;&#1095;&#1086;&#1075;&#1086; &#1085;&#1072;&#1076;&#1089;&#1082;&#1083;&#1072;&#1076;&#1085;&#1086;&#1075;&#1086; &#1074; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1085;&#1110; &#1082;&#1086;&#1076;&#1091; &#1085;&#1077;&#1084;&#1072;&#1108;.\u003C/p>\n\u003Cp>&#1053;&#1072;&#1087;&#1088;&#1080;&#1082;&#1110;&#1085;&#1094;&#1110; &#1087;&#1110;&#1076;&#1082;&#1088;&#1077;&#1089;&#1083;&#1080;&#1084;&#1086;, &#1097;&#1086; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1080;&#1081; Java-&#1087;&#1072;&#1088;&#1089;&#1077;&#1088; &#1082;&#1088;&#1072;&#1097;&#1077; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1074;&#1072;&#1090;&#1080; &#1074; &#1082;&#1086;&#1084;&#1073;&#1110;&#1085;&#1072;&#1094;&#1110;&#1111; &#1079; &#1089;&#1072;&#1081;&#1090;&#1086;&#1084; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1086;&#1084;, &#1097;&#1086; &#1087;&#1088;&#1086;&#1087;&#1086;&#1085;&#1091;&#1108; &#1072;&#1076;&#1077;&#1082;&#1074;&#1072;&#1090;&#1085;&#1080;&#1081; &#1087;&#1091;&#1083; &#1072;&#1076;&#1088;&#1077;&#1089; &#1076;&#1083;&#1103; &#1086;&#1088;&#1077;&#1085;&#1076;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110;. &#1047; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1086;&#1102; Dexodata &#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1091;&#1074;&#1072;&#1095;&#1110; &#1084;&#1086;&#1078;&#1091;&#1090;&#1100; &#1082;&#1091;&#1087;&#1080;&#1090;&#1080; &#1087;&#1088;&#1080;&#1074;&#1072;&#1090;&#1085;&#1110; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1076;&#1083;&#1103; &#1079;&#1073;&#1086;&#1088;&#1091; &#1076;&#1072;&#1085;&#1080;&#1093;, &#1085;&#1091; &#1072; &#1085;&#1086;&#1074;&#1072;&#1095;&#1082;&#1072;&#1084; &#1076;&#1086;&#1089;&#1090;&#1091;&#1087;&#1085;&#1072; &#1084;&#1086;&#1078;&#1083;&#1080;&#1074;&#1110;&#1089;&#1090;&#1100; &#1089;&#1087;&#1088;&#1086;&#1073;&#1091;&#1074;&#1072;&#1090;&#1080; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110; &#1073;&#1077;&#1079;&#1082;&#1086;&#1096;&#1090;&#1086;&#1074;&#1085;&#1086; &#1079;&#1072;&#1074;&#1076;&#1103;&#1082;&#1080; &#1087;&#1088;&#1086;&#1073;&#1085;&#1086;&#1084;&#1091; &#1087;&#1077;&#1088;&#1110;&#1086;&#1076;&#1091;. &#1053;&#1072;&#1096;&#1072; &#1077;&#1082;&#1086;&#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1072; &#1087;&#1088;&#1086;&#1087;&#1086;&#1085;&#1091;&#1108; \u003Ca href=\"https://dexodata.com/ru/pricing\" target=\"_blank\" rel=\"noopener\">&#1074;&#1089;&#1110; &#1090;&#1080;&#1087;&#1080; IP-&#1072;&#1076;&#1088;&#1077;&#1089; &#1087;&#1088;&#1086;&#1082;&#1089;&#1110;\u003C/a>: &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1085;&#1110;, &#1088;&#1077;&#1079;&#1080;&#1076;&#1077;&#1085;&#1090;&#1085;&#1110; &#1090;&#1072; &#1084;&#1086;&#1073;&#1110;&#1083;&#1100;&#1085;&#1110;.&nbsp;\u003C/p>\u003C/body>\u003C/html>\n",[],[],1783936345703]