{"id":296901,"date":"2020-01-09T15:00:26","date_gmt":"2020-01-09T15:00:26","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=296901"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=296901","title":{"rendered":"\u041a\u0430\u043a \u044f \u0434\u0435\u043b\u0430\u043b \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/483284\/\">\u041f\u0440\u0438\u0432\u0435\u0442 Habr!<\/p>\n<p>  \u0414\u043e\u0440\u043e\u0433\u043e\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c! \u0415\u0441\u043b\u0438 \u0442\u0435\u0431\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 html \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u043e\u0434 Android, \u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0442\u0435\u0431\u044f. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0442\u044b \u043d\u0430\u0439\u0434\u0435\u0448\u044c \u0432 \u043d\u0435\u0439 \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e. \u0412 \u043d\u0435\u0439 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0444\u0435\u0440\u0435.<\/p>\n<h2>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b<\/h2>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u043e \u043c\u043d\u0435. \u042f \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u043a\u0443\u0440\u0441\u0430 \u0418\u0422\u0410 \u042e\u0424\u0423. \u0422\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 \u0432\u0441\u0435\u043c \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430\u043c, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0439. \u041f\u0440\u0438\u0447\u0451\u043c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c, \u043d\u043e \u0438 \u043d\u0430 \u043e\u0434\u043d\u0443-\u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438 \u0432\u043f\u0435\u0440\u0451\u0434.<\/p>\n<p>  \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c? \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0435\u0441\u0442\u044c \u0440\u044f\u0434 \u043f\u0440\u0438\u0447\u0438\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0443\u044e\u0442, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n<ul>\n<li>\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u043d\u0435\u0434\u0435\u043b\u044e \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e <\/li>\n<li>\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438 \u043c\u043e\u0436\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f <\/li>\n<\/ul>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0435\u0441\u0442\u044c \u0441\u0430\u0439\u0442 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c, \u043d\u043e \u043e\u043d \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u0435\u043d, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 \u043d\u0451\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u044b\u0440\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043d\u0430 20 \u043d\u0435\u0434\u0435\u043b\u044c. \u0421\u0442\u0443\u0434\u0435\u043d\u0442\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u0438\u0441\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0443\u0436\u043d\u044b\u0439 \u0434\u0435\u043d\u044c. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c.<br \/>  \u042f \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0433\u043b\u043e \u0431\u044b \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0441\u0430\u0439\u0442 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043c\u043e\u0435\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430, \u0438 \u043e\u0431\u043b\u0430\u0434\u0430\u043b\u043e \u0431\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u043f\u043b\u044e\u0448\u0435\u043a:<\/p>\n<ul>\n<li>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435: \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438, \u0434\u0430\u0442\u044b, \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438 \u0438 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c <\/li>\n<li>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u043b\u0438\u0441\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u00ab\u043d\u0430\u0437\u0430\u0434\u00bb \u0438 \u00ab\u0434\u0430\u043b\u0435\u0435\u00bb <\/li>\n<li>\u041f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f <\/li>\n<\/ul>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u044d\u043a\u0437\u0435\u043a\u0443\u0446\u0438\u0438<\/h2>\n<p>  \u0418\u0442\u0430\u043a, \u0437\u0430\u043a\u0430\u0442\u0430\u0432 \u0440\u0443\u043a\u0430\u0432\u0430, \u044f \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b \u043a \u0440\u0430\u0431\u043e\u0442\u0435. \u041d\u0430\u0447\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441 \u043c\u0430\u043b\u043e\u0433\u043e. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0441 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430. \u0421\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c \u0438 \u043d\u0430\u043c \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0430\u0439\u043b \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0440\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\u0418\u0434\u0451\u043c \u0432 manifests-&gt;AndroidManifest.xml. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c permission. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;manifest xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     package=&quot;com.example.myapplication&quot;&gt;      &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; \/&gt;      ...  &lt;\/manifest&gt; <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443. \u041f\u043e\u043a\u0430 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0430\u043a\u0446\u0435\u043d\u0442 \u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0438 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0437\u043b\u043e\u0443\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442\u0430\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b \u0432\u0441\u0435\u0433\u043e \u0447\u0435\u0442\u044b\u0440\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u0430: \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0438 \u043a\u043d\u043e\u043f\u043a\u0438: \u043d\u0430\u0437\u0430\u0434 \u0438 \u0434\u0430\u043b\u0435\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0430\u0437\u043c\u0435\u0442\u043a\u0430 Activity<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     xmlns:app=&quot;http:\/\/schemas.android.com\/apk\/res-auto&quot;     xmlns:tools=&quot;http:\/\/schemas.android.com\/tools&quot;     android:layout_width=&quot;match_parent&quot;     android:layout_height=&quot;match_parent&quot;     tools:context=&quot;.MainActivity&quot;&gt;      &lt;TextView         android:id=&quot;@+id\/WeekNumber&quot;         android:layout_width=&quot;match_parent&quot;         android:layout_height=&quot;wrap_content&quot;         android:text=&quot;\u041d\u043e\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u043b\u0438&quot;         app:layout_constraintTop_toTopOf=&quot;parent&quot; \/&gt;      &lt;EditText         android:id=&quot;@+id\/timetable&quot;         android:layout_width=&quot;match_parent&quot;         android:layout_height=&quot;match_parent&quot;         android:layout_marginBottom=&quot;100dp&quot;         android:ems=&quot;10&quot;         android:inputType=&quot;textMultiLine&quot;         android:text=&quot;\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435&quot;         app:layout_constraintTop_toBottomOf=&quot;@+id\/WeekNumber&quot;         tools:layout_editor_absoluteX=&quot;0dp&quot; \/&gt;      &lt;Button         android:id=&quot;@+id\/next&quot;         android:layout_width=&quot;match_parent&quot;         android:layout_height=&quot;wrap_content&quot;         android:text=&quot;\u0414\u0430\u043b\u0435\u0435&quot;         app:layout_constraintBottom_toBottomOf=&quot;parent&quot;         tools:layout_editor_absoluteX=&quot;0dp&quot;&gt;&lt;\/Button&gt;      &lt;Button         android:id=&quot;@+id\/down&quot;         android:layout_width=&quot;match_parent&quot;         android:layout_height=&quot;wrap_content&quot;         android:text=&quot;\u041d\u0430\u0437\u0430\u0434&quot;         app:layout_constraintBottom_toTopOf=&quot;@+id\/next&quot;         tools:layout_editor_absoluteX=&quot;0dp&quot;&gt;&lt;\/Button&gt;  &lt;\/androidx.constraintlayout.widget.ConstraintLayout&gt; <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0447\u043d\u0451\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0438\u043d\u0433. \u0422\u0443\u0442 \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c Jsoup. \u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c WebView \u044f \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043c\u0451\u043b, \u0442\u0430\u043a \u043a\u0430\u043a \u044f \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u044d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u044b\u043c. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u043c\u043d\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0439 \u0432\u0438\u0434\u0436\u0435\u0442, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 Jsoup<\/b><\/p>\n<div class=\"spoiler_text\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u0432 build.gradle:  <\/p>\n<pre><code class=\"xml\">implementation 'org.jsoup:jsoup:1.11.1' <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0431\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 web \u0434\u043b\u044f Android \u2014 \u044d\u0442\u043e \u0442\u044f\u0436\u0451\u043b\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0432\u0438\u0441\u043b\u043e, \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 web \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u043b\u0430\u0441\u044c \u0432\u043d\u0435 \u043f\u043e\u0442\u043e\u043a\u0430 UI. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 AsyncTask. \u0412 \u043d\u0435\u0433\u043e \u043c\u044b \u0438 \u0437\u0430\u043b\u043e\u0436\u0438\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0434\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 UI-\u043f\u043e\u0442\u043e\u043a.<\/p>\n<p>  \u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c \u0441 AsyncTask, \u0445\u043e\u0447\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043b\u0430\u0441\u0441\u0430 \u0432\u0430\u0448\u0435\u0433\u043e activity. \u0421\u0430\u043c \u043a\u043b\u0430\u0441\u0441 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d \u043d\u0438\u0436\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 Activity \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c AsyncTask<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">package com.example.myapplication;  import androidx.appcompat.app.AppCompatActivity;  import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast;  import org.jsoup.Jsoup; import org.jsoup.nodes.Document;  import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date;  public class MainActivity extends AppCompatActivity { public boolean offline; public String request; public String WeekNumber; public int count; \/\/\u0412\u0438\u0434\u0436\u0435\u0442\u044b     public TextView weeknumber;     public EditText timetable;     public Button next;     public Button down;          @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         offline = false;\/\/ \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0430 \u043e\u043d\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435         count = 0;\/\/\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0434\u0430\u043d\u043e \u043d\u0438\u0436\u0435         weeknumber = findViewById(R.id.WeekNumber);         timetable = findViewById(R.id.timetable);         next = findViewById(R.id.next);         down = findViewById(R.id.down);         getting AsyncTask = new getting();        AsyncTask.execute();     }     class getting extends AsyncTask&lt;String, String, String&gt; {         @Override         protected void onPreExecute() {             super.onPreExecute();             \/\/\u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u043a\u043e\u0434 \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0444\u043e\u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430         }          @Override         protected String doInBackground(String... params) {             \/*\u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u043e\u043d\u0435             \u0422\u0443\u0442 \u043c\u044b \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u0441\u0430\u0439\u0442\u0443 \u0438 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e html \u043a\u043e\u0434             *\/             String answer = &quot;&quot;;\/\/ \u0412 \u044d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043a\u043b\u0430\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0441\u0430\u0439\u0442\u0430. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u043f\u0443\u0441\u0442\u0430\u044f             String url = &quot;https:\/\/ictis.sfedu.ru\/rasp\/HTML\/82.htm&quot;;\/\/ \u0410\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c             Document document = null;             try {                 document = Jsoup.connect(url).get();\/\/ \u041a\u043e\u043d\u043d\u0435\u043a\u0442\u0438\u043c\u0441\u044f \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443                 answer = document.body().html();\/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u0434 \u0438\u0437 \u0442\u0435\u0433\u0430 body \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b             } catch (IOException e) {                 \/\/ \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c                 \/\/ \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e answer \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044e \u0438\u0437 txt \u0444\u0430\u0439\u043b\u0430                 try {                     BufferedReader read = new BufferedReader(new InputStreamReader(openFileInput(&quot;timetable.txt&quot;)));                     String str = &quot;&quot;;                     while ((str = read.readLine())!=null){                         answer +=str;                     }                     read.close();                     offline = true;\/\/\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435                 } catch (FileNotFoundException ex) {                     \/\/\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043d\u0435\u0442, \u0442\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 answer \u043f\u0443\u0441\u0442\u043e\u0442\u0443                     answer = &quot;&quot;;                     ex.printStackTrace();                 } catch (IOException ex) {                     ex.printStackTrace();                 }             }             \/\/\u0423\u0431\u0438\u0440\u0430\u044e \u043b\u0438\u0448\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 html             \/\/\u0417\u0430\u043c\u0435\u043d\u044f\u044e html \u043a\u043e\u0434 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u0430\u0440\u044b \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c nolessone             \/\/\u0423\u0431\u0438\u0440\u0430\u044e \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044b             answer = answer.replace(&quot;\u041f\u0430\u0440\u044b&quot;,&quot;&quot;)                     .replace(&quot;\u0412\u0440\u0435\u043c\u044f&quot;,&quot;&quot;)                     .replace(&quot;&lt;br&gt;&quot;,&quot;br&quot;)                     .replace(&quot;&lt;font face=\\&quot;Arial\\&quot; size=\\&quot;1\\&quot;&gt;&lt;\/font&gt;&lt;p align=\\&quot;CENTER\\&quot;&gt;&lt;font face=\\&quot;Arial\\&quot; size=\\&quot;1\\&quot;&gt;&lt;\/font&gt;&quot;,&quot;nolessone&quot;)\/\/\u0417\u0430\u043c\u0435\u043d\u044f\u0435\u043c &quot;\u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u0443&quot; \u043f\u0443\u0441\u0442\u043e\u0439 \u043f\u0430\u0440\u044b \u043d\u0430 nolessone                      .replace(&quot;  &quot;,&quot;&quot;);             return Jsoup.parse(answer).text();\/\/\u0412\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 \u043a\u043e\u0434\u0430 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 answer \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0432 UI-\u043f\u043e\u0442\u043e\u043a         }          @Override         protected void onPostExecute(String result) {             super.onPostExecute(result);             \/*\u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u0444\u043e\u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0430             \u0421\u044e\u0434\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043f\u043e\u0442\u043e\u043a\u0430              *\/             request = &quot;&quot;;\/\/\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442             String temp = result.toString();\/\/\u0414\u0435\u043b\u0430\u0451\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443             \/\/ \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435, \u0432 \u0444\u0430\u0439\u043b timetable.txt, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f             try {                 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(openFileOutput(&quot;timetable.txt&quot;,MODE_PRIVATE)));                 writer.write(temp);                 writer.close();             } catch (FileNotFoundException e) {                 e.printStackTrace();             } catch (IOException e) {                 e.printStackTrace();             }              boolean start = false;             for(String str:temp.split(&quot;\u041d\u0435\u0434\u0435\u043b\u044f: &quot;)){                 if(start) {                     \/\/\u0412 \u043d\u0430\u0447\u0430\u043b\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u043e\u0432\u043e newweek \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 request                     request += &quot;newweek&quot;+str.split(&quot;\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435&quot;)[0] + &quot;\\n&quot;;                 }                 start = true;             }             \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u0434\u043d\u044f\u043c \u043d\u0435\u0434\u0435\u043b\u0438 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0443 newday, \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u0438 \u0441\u0442\u0440\u043e\u043a\u0438             request = request.replace(&quot;\u041f\u043d\u0434&quot;,&quot;newday\u041f\u043d\u0434&quot;).replace(&quot;\u0412\u0442\u0440&quot;,&quot;newday\u0412\u0442\u0440&quot;)                     .replace(&quot;\u0421\u0440\u0434&quot;,&quot;newday\u0421\u0440\u0434&quot;).replace(&quot;\u0427\u0442\u0432&quot;,&quot;newday\u0427\u0442\u0432&quot;)                     .replace(&quot;\u041f\u0442\u043d&quot;,&quot;newday\u041f\u0442\u043d&quot;).replace(&quot;\u0421\u0431\u0442&quot;,&quot;newday\u0421\u0431\u0442&quot;);             \/*\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u0442\u0443 \u0434\u043d\u044f             \u0415\u0441\u043b\u0438 count = 0, \u0442\u043e \u0432\u0435\u0440\u043d\u0451\u0442\u0441\u044f \u0434\u0430\u0442\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0433\u043e \u0434\u043d\u044f             \u0415\u0441\u043b\u0438 count = -1, \u0442\u043e \u0432\u0447\u0435\u0440\u0430\u0448\u043d\u0435\u0433\u043e             \u0415\u0441\u043b\u0438 count = 1, \u0442\u043e \u0437\u0430\u0432\u0442\u0440\u0430\u0448\u043d\u0435\u0433\u043e \u0438 \u0442.\u0434              *\/             Calendar calendar = Calendar.getInstance();             calendar.add(Calendar.DAY_OF_YEAR,count);             Date dayformat = calendar.getTime();             SimpleDateFormat format = new SimpleDateFormat(&quot;dd MMMM&quot;);             \/\/\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442             timetable.setText(request);             if(offline && !temp.equals(&quot;&quot;)){                 \/\/\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0447\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044f \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f                 Toast.makeText(getApplicationContext(),&quot;\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044f \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f!&quot;,Toast.LENGTH_LONG).show();             }             \/\/\u0415\u0441\u043b\u0438 \u043d\u0430\u0448 \u043e\u0442\u0432\u0435\u0442 \u0440\u0430\u0432\u0435\u043d \u043f\u0443\u0441\u0442\u043e\u0442\u0435, \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430                 if(temp.equals(&quot;&quot;)){                     Toast.makeText(getApplicationContext(),&quot;\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430!&quot;,Toast.LENGTH_LONG).show();                 }          }     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u043e\u0442 \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u043d\u0435\u0434\u0435\u043b\u044e<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yh\/3p\/9f\/yh3p9fxza9os_g5q_prwra23svq.png\"\/>  <\/div>\n<\/div>\n<p>  \u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043c\u0435\u0442\u043e\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438:<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0442\u0438\u043f\u0430 Document<\/p>\n<pre><code class=\"java\">Document document = null; <\/code><\/pre>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443<\/p>\n<pre><code class=\"java\">document = Jsoup.connect(url).get(); <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0441\u0442\u0430\u0451\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u0435\u0433\u0430 body<\/p>\n<pre><code class=\"java\">answer = document.body().html(); <\/code><\/pre>\n<p>  \u0412 Jsoup \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0442\u0435\u0433\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043c\u0435\u0442\u043e\u0434 title() \u0438 \u0442.\u0434. \u041c\u0435\u0442\u043e\u0434 html() \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 html \u043a\u043e\u0434, \u0430 text() \u2014 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u0431\u0435\u0437 html \u0442\u0435\u0433\u043e\u0432.<\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u0432 html \u043a\u043e\u0434, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442, \u0443\u0431\u0440\u0430\u0432 \u0432\u0441\u0435 \u0442\u0435\u0433\u0438. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e parse(htmlcode).text():<\/p>\n<pre><code class=\"java\">return Jsoup.parse(answer).text(); <\/code><\/pre>\n<p>  \u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0435\u0449\u0451 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 Jsoup, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b:<\/p>\n<pre><code class=\"java\">Element link = document.select(&quot;tag&quot;);\/\/\u0432\u044b\u0431\u0435\u0440\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0442\u0435\u0433\u043e\u043c String url = link.attr(&quot;attribute&quot;); \/\/ \u0432\u044b\u0434\u0430\u0441\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0442\u0435\u0433\u0430 <\/code><\/pre>\n<p>  \u041d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u0432 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u043e\u0434\u043d\u0443 \u043d\u0435\u0434\u0435\u043b\u044e. \u0412 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u043e 20 \u0442\u0430\u043a\u0438\u0445 \u043d\u0435\u0434\u0435\u043b\u044c. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043d\u0430\u0439\u0442\u0438 \u0432 \u044d\u0442\u043e\u043c \u043d\u0430\u0431\u043e\u0440\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e.<\/p>\n<h2>\u0414\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0434\u043e \u0443\u043c\u0430<\/h2>\n<p>  \u0418\u0442\u0430\u043a, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c? \u041c\u044b \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c html \u043a\u043e\u0434 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432 \u0441\u0442\u0440\u043e\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c. \u042d\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b .split() \u0438 .replace().<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a.<\/p>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u0443\u044e \u0434\u0430\u0442\u0443 \u043e\u0442 Android. \u041f\u043e\u0442\u043e\u043c \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u0432\u0430 \u0446\u0438\u043a\u043b\u0430, \u043e\u0434\u0438\u043d \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439. \u041f\u0435\u0440\u0432\u044b\u0439 \u0446\u0438\u043a\u043b \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u043d\u0435\u0434\u0435\u043b\u044f\u043c, \u0432\u0442\u043e\u0440\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0433\u043e, \u043f\u0440\u043e\u0431\u0435\u0433\u0430\u0435\u0442 \u043f\u043e \u0434\u043d\u044f\u043c \u043d\u0435\u0434\u0435\u043b\u0438. \u0415\u0441\u043b\u0438 \u0434\u0430\u0442\u0430 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043d\u044f \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0434\u0430\u0442\u043e\u0439, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043e\u0442 Android, \u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043d\u044f \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u043e \u0441\u0432\u043e\u0435\u043c\u0443. \u042f \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u043b \u0441\u0432\u043e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 Activity<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">package com.example.myapplication;  import androidx.appcompat.app.AppCompatActivity;  import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast;  import org.jsoup.Jsoup; import org.jsoup.nodes.Document;  import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date;  public class MainActivity extends AppCompatActivity { public boolean offline; public String request; public String WeekNumber; public int count; \/\/\u0412\u0438\u0434\u0436\u0435\u0442\u044b     public TextView weeknumber;     public EditText timetable;     public Button next;     public Button down;     public void formating(String day){         String DayTimetable = &quot;&quot;;         String[] weeks = request.split(&quot;newweek&quot;);         String DayData = &quot;&quot;;\/\/\u0422\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438 \u0438 \u0434\u0430\u0442\u0430         \/*         \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0440\u0435         \u0412\u0441\u0435\u0433\u043e \u0432 \u0434\u0435\u043d\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u0435\u043c\u044c \u043f\u0430\u0440         \u043c\u0430\u0441\u0441\u0438\u0432 less \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430         \u043c\u0430\u0441\u0441\u0438\u0432 tich \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0424\u0418\u041e \u043f\u0440\u0435\u043f\u043e\u0434\u0430\u0432\u0430\u0442\u0435\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430         \u043c\u0430\u0441\u0441\u0438\u0432 aud \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u043c\u0435\u0442 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0414-230)          *\/         String less[] = new String[7];         String tich[] = new String[7];         String aud[] = new String[7];         for(String thisweek:weeks){\/\/\u043f\u0440\u043e\u0431\u0435\u0433\u0430\u0435\u043c\u0441\u044f \u043f\u043e \u043d\u0435\u0434\u0435\u043b\u044f\u043c             if(thisweek.indexOf(day) != -1) {\/\/\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c \u0434\u0435\u043d\u044c \u043d\u0430\u0439\u0434\u0435\u043d \u0432 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0442\u043e...                 WeekNumber = thisweek.split(&quot; &quot;)[0];\/\/\u0414\u043e\u0441\u0442\u0430\u0451\u043c \u043d\u043e\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u043b\u0438                 for(String thisday:thisweek.split(&quot;newday&quot;)){\/\/\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0431\u0435\u0433\u0430\u0435\u043c\u0441\u044f \u043f\u043e \u0434\u043d\u044f\u043c \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438                     if(thisday.indexOf(day) != -1) {\/\/\u0415\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043d\u0443\u0436\u043d\u044b\u043c \u043d\u0430\u043c \u0434\u043d\u0451\u043c, \u0442\u043e...                         \/\/\u0414\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a, \u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0440\u043e\u0439 \u0431\u044b\u043b\u0430 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 newless                         \/\/\u043f\u0430\u0440\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u0440. \u043b\u0435\u043a. \u043b\u0430\u0431. \u0438 \u043f\u0440.                         thisday = thisday.replace(&quot;no&quot;,&quot;newless&quot;)                                 .replace(&quot;\u043f\u0440.&quot;,&quot;newless\u043f\u0440.&quot;)                                 .replace(&quot;\u043b\u0435\u043a.&quot;,&quot;newless\u043b\u0435\u043a.&quot;)                                 .replace(&quot;\u043b\u0430\u0431.&quot;,&quot;newless\u043b\u0430\u0431.&quot;);                         int i = 0;                         for(String thislessone:thisday.split(&quot;newless&quot;)) {\/\/\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0431\u0435\u0433\u0430\u0435\u043c\u0441\u044f \u043f\u043e \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430\u043c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043d\u044f                             if(i != 0) {                                 String[] ScienceInformation = thislessone.replace(&quot;br &quot;,&quot;&quot;).split(&quot;br&quot;);                                 String science = ScienceInformation[0];                                 science = science.replace(&quot;lessone&quot;,&quot;\u041e\u043a\u043d\u043e&quot;);                                 String ticher = &quot;&quot;;                                 if(ScienceInformation.length &gt; 1)                                     ticher = ScienceInformation[1];                                 DayTimetable += i + &quot;-\u0430\u044f: \u041f\u0440\u0435\u0434\u043c\u0435\u0442 - &quot; + science+&quot;\\n&quot;+ticher+&quot;\\n\\n&quot;;                                 ticher = ticher.replace(&quot;\u0410-&quot;,&quot;@\u0410-&quot;).replace(&quot;\u0410-&quot;,&quot;@\u0411-&quot;)                                         .replace(&quot;\u0412-&quot;,&quot;@\u0412-&quot;).replace(&quot;\u0413-&quot;,&quot;@\u0413-&quot;)                                         .replace(&quot;\u0414-&quot;,&quot;@\u0414-&quot;).replace(&quot;\u0415-&quot;,&quot;@\u0415-&quot;)                                         .replace(&quot;\u0418-&quot;,&quot;@\u0418-&quot;).replace(&quot;K-&quot;,&quot;@K-&quot;);                                 String Auditory;                                 if(ticher.split(&quot;@&quot;).length == 2){                                     Auditory = &quot;\u0410\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f: &quot;+ticher.split(&quot;@&quot;)[1];                                 }else                                     Auditory = &quot;\u0410\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f: \u0414\u043e\u043c\u0430&quot;;\/\/\u041d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u043b\u0438 \u043f\u0430\u0440\u044b \u043d\u0435\u0442                                 ticher = ticher.split(&quot;@&quot;)[0];                                 if(ticher.length() &gt;0){                                     ticher = &quot;\u041f\u0440\u0435\u043f\u043e\u0434\u0430\u0432\u0430\u0442\u0435\u043b\u044c: &quot;+ticher;                                 }else{                                     ticher = &quot;\u0421\u0430\u043c\u043e\u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430&quot;;                                 }                                 if(i==1){                                     less[i-1] = &quot;1-\u0430\u044f (8:00-9:35) &quot;+science;                                 }                                 if(i==2){                                     less[i-1] = &quot;2-\u0430\u044f (9:50-11:25) &quot;+science;                                 }                                 if(i==3){                                     less[i-1] = &quot;3-\u0430\u044f (11:55-13:30) &quot;+science;                                 }                                 if(i==4){                                     less[i-1] = &quot;4-\u0430\u044f (13:45-15:20) &quot;+science;                                 }                                 if(i==5){                                     less[i-1] = &quot;5-\u0430\u044f (15:50-17:25) &quot;+science;                                 }                                 if(i==6){                                     less[i-1] = &quot;6-\u0430\u044f (17:40-19:15) &quot;+science;                                 }                                 if(i==7){                                     less[i-1] = &quot;7-\u0430\u044f (19:30-21:05) &quot;+science;                                 }                                 tich[i-1] = ticher;                                 aud[i-1] = Auditory;                             }else                                 DayData = thislessone;\/\/\u041f\u0440\u0438 i=0 \u0432 thislessone \u0431\u0443\u0434\u0435\u0442 \u0434\u0430\u0442\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0434\u043d\u044f                             i++;                         }                     }                 }              }         }         timetable.setText(DayData);\/\/\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0434\u0430\u0442\u0443         for(int i = 0; i &lt;=6; i++){             timetable.setText(timetable.getText()+&quot;\\n&quot;+less[i]+tich[i]+aud[i]);\/\/\u0412\u044b\u0432\u043e\u0434 \u043f\u0430\u0440\u044b, \u043f\u0440\u0435\u043f\u043e\u0434\u0430 \u0438 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0440\u044b (\u043e\u0442 \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0434\u043e \u0448\u0435\u0441\u0442\u043e\u0439)         }             weeknumber.setText(&quot;\u0421\u0435\u0439\u0447\u0430\u0441 &quot;+ WeekNumber + &quot; \u043d\u0435\u0434\u0435\u043b\u044f&quot;);\/\/\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u043d\u043e\u043c\u0435\u0440 \u043d\u0435\u0434\u0434\u0435\u043b\u0438     }     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         offline = false;\/\/ \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435         count = 0;         weeknumber = findViewById(R.id.WeekNumber);         timetable = findViewById(R.id.timetable);         next = findViewById(R.id.next);         down = findViewById(R.id.down);         getting getting = new getting();         getting.execute();         \/\/\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u043d\u0430\u0437\u0430\u0434 \u0438 \u0432\u043f\u0435\u0440\u0451\u0434         next.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View v) {                 count++;                 Calendar calendar = Calendar.getInstance();                 calendar.add(Calendar.DAY_OF_YEAR,count);                 Date dayformat = calendar.getTime();                 SimpleDateFormat format = new SimpleDateFormat(&quot;dd MMMM&quot;);                 formating(format.format(dayformat));             }         });         down.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View v) {                 count--;                 Calendar calendar = Calendar.getInstance();                 calendar.add(Calendar.DAY_OF_YEAR,count);                 Date dayformat = calendar.getTime();                 SimpleDateFormat format = new SimpleDateFormat(&quot;dd MMMM&quot;);                 formating(format.format(dayformat));             }         });     }     class getting extends AsyncTask&lt;String, String, String&gt; {         @Override         protected void onPreExecute() {             super.onPreExecute();             \/\/\u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u043a\u043e\u0434 \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0444\u043e\u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430             getSupportActionBar().setTitle(&quot;\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...&quot;);         }          @Override         protected String doInBackground(String... params) {             \/*\u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u043e\u043d\u0435             \u0422\u0443\u0442 \u043c\u044b \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u0441\u0430\u0439\u0442\u0443 \u0438 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e html \u043a\u043e\u0434             *\/             String answer = &quot;&quot;;\/\/ \u0412 \u044d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043a\u043b\u0430\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0441\u0430\u0439\u0442\u0430. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u043f\u0443\u0441\u0442\u0430\u044f             String url = &quot;https:\/\/ictis.sfedu.ru\/rasp\/HTML\/82.htm&quot;;\/\/ \u0410\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c             Document document = null;             try {                 document = Jsoup.connect(url).get();\/\/ \u041a\u043e\u043d\u043d\u0435\u043a\u0442\u0438\u043c\u0441\u044f \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443                 answer = document.body().html();\/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u0434 \u0438\u0437 \u0442\u0435\u0433\u0430 body \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b             } catch (IOException e) {                 \/\/ \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c                 \/\/ \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e answer \u043e\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044e \u0438\u0437 txt \u0444\u0430\u0439\u043b\u0430                 try {                     BufferedReader read = new BufferedReader(new InputStreamReader(openFileInput(&quot;timetable.txt&quot;)));                     String str = &quot;&quot;;                     while ((str = read.readLine())!=null){                         answer +=str;                     }                     read.close();                     offline = true;\/\/\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435                 } catch (FileNotFoundException ex) {                     \/\/\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043d\u0435\u0442, \u0442\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 answer \u043f\u0443\u0441\u0442\u043e\u0442\u0443                     answer = &quot;&quot;;                     ex.printStackTrace();                 } catch (IOException ex) {                     ex.printStackTrace();                 }             }             \/\/\u0423\u0431\u0438\u0440\u0430\u044e \u043b\u0438\u0448\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 html             \/\/\u0417\u0430\u043c\u0435\u043d\u044f\u044e html \u043a\u043e\u0434 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u0430\u0440\u044b \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c nolessone             \/\/\u0423\u0431\u0438\u0440\u0430\u044e \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044b             answer = answer.replace(&quot;\u041f\u0430\u0440\u044b&quot;,&quot;&quot;)                     .replace(&quot;\u0412\u0440\u0435\u043c\u044f&quot;,&quot;&quot;)                     .replace(&quot;&lt;br&gt;&quot;,&quot;br&quot;)                     .replace(&quot;&lt;font face=\\&quot;Arial\\&quot; size=\\&quot;1\\&quot;&gt;&lt;\/font&gt;&lt;p align=\\&quot;CENTER\\&quot;&gt;&lt;font face=\\&quot;Arial\\&quot; size=\\&quot;1\\&quot;&gt;&lt;\/font&gt;&quot;,&quot;nolessone&quot;)                     .replace(&quot;  &quot;,&quot;&quot;);             return Jsoup.parse(answer).text();\/\/\u0412\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 \u043a\u043e\u0434\u0430 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 answer \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0432 UI-\u043f\u043e\u0442\u043e\u043a         }          @Override         protected void onPostExecute(String result) {             super.onPostExecute(result);             \/*\u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u0444\u043e\u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0430             \u0421\u044e\u0434\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043f\u043e\u0442\u043e\u043a\u0430              *\/             request = &quot;&quot;;\/\/\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442             String temp = result.toString();\/\/\u0414\u0435\u043b\u0430\u0451\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443             \/\/ \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435, \u0432 \u0444\u0430\u0439\u043b timetable.txt, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f             try {                 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(openFileOutput(&quot;timetable.txt&quot;,MODE_PRIVATE)));                 writer.write(temp);                 writer.close();             } catch (FileNotFoundException e) {                 e.printStackTrace();             } catch (IOException e) {                 e.printStackTrace();             }              boolean start = false;             for(String str:temp.split(&quot;\u041d\u0435\u0434\u0435\u043b\u044f: &quot;)){                 if(start) {                     \/\/\u0412 \u043d\u0430\u0447\u0430\u043b\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u043e\u0432\u043e newweek \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 request                     request += &quot;newweek&quot;+str.split(&quot;\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435&quot;)[0] + &quot;\\n&quot;;                 }                 start = true;             }             \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u0434\u043d\u044f\u043c \u043d\u0435\u0434\u0435\u043b\u0438 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0443 newday, \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u0438 \u0441\u0442\u0440\u043e\u043a\u0438             request = request.replace(&quot;\u041f\u043d\u0434&quot;,&quot;newday\u041f\u043d\u0434&quot;).replace(&quot;\u0412\u0442\u0440&quot;,&quot;newday\u0412\u0442\u0440&quot;)                     .replace(&quot;\u0421\u0440\u0434&quot;,&quot;newday\u0421\u0440\u0434&quot;).replace(&quot;\u0427\u0442\u0432&quot;,&quot;newday\u0427\u0442\u0432&quot;)                     .replace(&quot;\u041f\u0442\u043d&quot;,&quot;newday\u041f\u0442\u043d&quot;).replace(&quot;\u0421\u0431\u0442&quot;,&quot;newday\u0421\u0431\u0442&quot;);             \/*\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u0442\u0443 \u0434\u043d\u044f             \u0415\u0441\u043b\u0438 count = 0, \u0442\u043e \u0432\u0435\u0440\u043d\u0451\u0442\u0441\u044f \u0434\u0430\u0442\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0433\u043e \u0434\u043d\u044f             \u0415\u0441\u043b\u0438 count = -1, \u0442\u043e \u0432\u0447\u0435\u0440\u0430\u0448\u043d\u0435\u0433\u043e             \u0415\u0441\u043b\u0438 count = 1, \u0442\u043e \u0437\u0430\u0432\u0442\u0440\u0430\u0448\u043d\u0435\u0433\u043e \u0438 \u0442.\u0434              *\/             Calendar calendar = Calendar.getInstance();             calendar.add(Calendar.DAY_OF_YEAR,count);             Date dayformat = calendar.getTime();             SimpleDateFormat format = new SimpleDateFormat(&quot;dd MMMM&quot;);             \/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0445             formating(format.format(dayformat));             if(offline && !temp.equals(&quot;&quot;)){                 \/\/\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0447\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044f \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f                 Toast.makeText(getApplicationContext(),&quot;\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044f \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f!&quot;,Toast.LENGTH_LONG).show();             }             \/\/\u0415\u0441\u043b\u0438 \u043d\u0430\u0448 \u043e\u0442\u0432\u0435\u0442 \u0440\u0430\u0432\u0435\u043d \u043f\u0443\u0441\u0442\u043e\u0442\u0435, \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430                 if(temp.equals(&quot;&quot;)){                     Toast.makeText(getApplicationContext(),&quot;\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430!&quot;,Toast.LENGTH_LONG).show();                 }             getSupportActionBar().setTitle(&quot;\u0413\u043e\u0442\u043e\u0432\u043e&quot;);          }     } }  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 formating(). \u041f\u043e\u0434\u0430\u0432 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043c\u0435\u0442\u043e\u0434\u0443 \u0434\u0430\u0442\u0443, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0435\u043d\u044c. \u0422\u0430\u043a \u043c\u044b \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u00ab\u043d\u0430\u0437\u0430\u0434\u00bb \u0438 \u00ab\u0434\u0430\u043b\u0435\u0435\u00bb<\/p>\n<p>  \u041a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 \u00ab\u0414\u0430\u043b\u0435\u0435\u00bb:<\/p>\n<pre><code class=\"java\">count++; Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.DAY_OF_YEAR,count); Date dayformat = calendar.getTime(); SimpleDateFormat format = new SimpleDateFormat(&quot;dd MMMM&quot;); formating(format.format(dayformat));\/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c formating <\/code><\/pre>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Calendar \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u044e\u044e \u0434\u0430\u0442\u0443. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 add \u043c\u044b \u043f\u0440\u0438\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0439 \u0434\u0430\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u043d\u0435\u0439, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 count. \u041a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 \u00ab\u043d\u0430\u0437\u0430\u0434\u00bb \u0431\u0443\u0434\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u0435\u043d, \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437 count \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yj\/ep\/dl\/yjepdl4qlmacunjm90ixld8zspk.jpeg\" width=\"250\"\/>  <\/div>\n<\/div>\n<p>  <\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c, \u043d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u0430\u044f \u0442\u0435\u043c\u0430. \u042f \u043b\u0438\u0448\u044c \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c\u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c\u0438. \u0412 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0430\u0445 \u043d\u0438\u0436\u0435 \u044f \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u043b \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0441 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u044b\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c. \u0422\u0430\u043a\u0436\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0443\u0447\u0435\u0431\u043d\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0438 \u0442.\u0434. \u0421\u0430\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0432\u0435\u0434\u0443 \u0435\u0433\u043e \u0434\u043e \u0443\u043c\u0430.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sz\/nb\/i9\/sznbi9kl1rg1mfsyqlq8c7howis.jpeg\" width=\"250\"\/>  <\/div>\n<\/div>\n<\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d() } } }t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>      <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/483284\/\"> https:\/\/habr.com\/ru\/post\/483284\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/483284\/\">\u041f\u0440\u0438\u0432\u0435\u0442 Habr!<\/p>\n<p>  \u0414\u043e\u0440\u043e\u0433\u043e\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c! \u0415\u0441\u043b\u0438 \u0442\u0435\u0431\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 html \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u043e\u0434 Android, \u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0442\u0435\u0431\u044f. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0442\u044b \u043d\u0430\u0439\u0434\u0435\u0448\u044c \u0432 \u043d\u0435\u0439 \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e. \u0412 \u043d\u0435\u0439 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0444\u0435\u0440\u0435.<\/p>\n<h2>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b<\/h2>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u043e \u043c\u043d\u0435. \u042f \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u043a\u0443\u0440\u0441\u0430 \u0418\u0422\u0410 \u042e\u0424\u0423. \u0422\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 \u0432\u0441\u0435\u043c \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430\u043c, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0439. \u041f\u0440\u0438\u0447\u0451\u043c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c, \u043d\u043e \u0438 \u043d\u0430 \u043e\u0434\u043d\u0443-\u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438 \u0432\u043f\u0435\u0440\u0451\u0434.<\/p>\n<p>  \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c? \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0435\u0441\u0442\u044c \u0440\u044f\u0434 \u043f\u0440\u0438\u0447\u0438\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0443\u044e\u0442, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n<ul>\n<li>\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u043d\u0435\u0434\u0435\u043b\u044e \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e <\/li>\n<li>\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438 \u043c\u043e\u0436\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f <\/li>\n<\/ul>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0435\u0441\u0442\u044c \u0441\u0430\u0439\u0442 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c, \u043d\u043e \u043e\u043d \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u0435\u043d, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 \u043d\u0451\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u044b\u0440\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043d\u0430 20 \u043d\u0435\u0434\u0435\u043b\u044c. \u0421\u0442\u0443\u0434\u0435\u043d\u0442\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u0438\u0441\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0443\u0436\u043d\u044b\u0439 \u0434\u0435\u043d\u044c. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c.<br \/>  \u042f \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0433\u043b\u043e \u0431\u044b \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0441\u0430\u0439\u0442 \u0441 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043c\u043e\u0435\u0433\u043e \u0438\u043d\u0441\u0442\u0438\u0442\u0443\u0442\u0430, \u0438 \u043e\u0431\u043b\u0430\u0434\u0430\u043b\u043e \u0431\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u043f\u043b\u044e\u0448\u0435\u043a:<\/p>\n<ul>\n<li>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435: \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438, \u0434\u0430\u0442\u044b, \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438 \u0438 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c <\/li>\n<li>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u043b\u0438\u0441\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u00ab\u043d\u0430\u0437\u0430\u0434\u00bb \u0438 \u00ab\u0434\u0430\u043b\u0435\u0435\u00bb <\/li>\n<li>\u041f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0432\u0435\u0440\u0441\u0438\u044e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f <\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-296901","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/296901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=296901"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/296901\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=296901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=296901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=296901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}