", start);
+ if (counterStart == -1) {
+ return 0;
+ }
+
+ int valueStart = counterStart + "
".length();
+ int valueEnd = html.indexOf("
", valueStart);
+ if (valueEnd == -1) {
+ return 0;
+ }
+
+ try {
+ return Integer.parseInt(html.substring(valueStart, valueEnd).trim());
+ } catch (NumberFormatException e) {
+ return 0;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Task_2_4_1/src/main/resources/META-INF/MANIFEST.MF b/Task_2_4_1/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..c7f58a6
--- /dev/null
+++ b/Task_2_4_1/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Main-Class: ru.nsu.nmashkin.task241.Main
+
diff --git a/Task_2_4_1/src/main/resources/google_style.xml b/Task_2_4_1/src/main/resources/google_style.xml
new file mode 100644
index 0000000..c63eb28
--- /dev/null
+++ b/Task_2_4_1/src/main/resources/google_style.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file