|
|
@@ -19,10 +19,10 @@ BASE_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
|
|
LECTION_DIR = os.path.join("Лекции", "ПМ3.2")
|
|
|
|
|
|
# ссылка для проверки
|
|
|
-url = "http://213.155.192.79:3001/u20-24mikuho/TZI/raw/fd977068cd3d86655311f75c052bfda8f6a03ad9/%d0%9b%d0%b5%d0%ba%d1%86%d0%b8%d0%b8/%d0%9f%d0%9c3.2/1.1.500_%d0%9c%d0%be%d0%b4%d0%b5%d0%bb%d1%8c_%d0%bd%d0%b0%d1%80%d1%83%d1%88%d0%b8%d1%82%d0%b5%d0%bb%d1%8f_%d0%b8_%d0%b2%d0%be%d0%b7%d0%bc%d0%be%d0%b6%d0%bd%d1%8b%d0%b5_%d0%bf%d1%83%d1%82%d0%b8_%d0%b8_%d1%81%d0%bf%d0%be%d1%81%d0%be%d0%b1%d1%8b_%d0%b5%d0%b3%d0%be_%d0%bf%d1%80%d0%be%d0%bd%d0%b8%d0%ba%d0%bd%d0%be%d0%b2%d0%b5%d0%bd%d0%b8%d1%8f_%d0%bd%d0%b0_%d0%be%d1%85%d1%80%d0%b0%d0%bd%d1%8f%d0%b5%d0%bc%d1%8b%d0%b9_%d0%be%d0%b1%d1%8a%d0%b5%d0%ba%d1%82/Mikluho.md"
|
|
|
+url = "http://213.155.192.79:3001/u20-24abramyan/TZI/src/709ee68165d00e7219745da598ba11abd878b77e/%d0%9b%d0%b5%d0%ba%d1%86%d0%b8%d0%b8/%d0%9f%d0%9c3.2/%d0%9f2.1.100_%d0%9c%d0%be%d0%bd%d1%82%d0%b0%d0%b6_%d0%b4%d0%b0%d1%82%d1%87%d0%b8%d0%ba%d0%be%d0%b2_%d0%bf%d0%be%d0%b6%d0%b0%d1%80%d0%bd%d0%be%d0%b9_%d0%b8_%d0%be%d1%85%d1%80%d0%b0%d0%bd%d0%bd%d0%be%d0%b9_%d1%81%d0%b8%d0%b3%d0%bd%d0%b0%d0%bb%d0%b8%d0%b7%d0%b0%d1%86%d0%b8%d0%b8/Abramyan.md"
|
|
|
|
|
|
# ------------------------------- / НАСТРОЙКИ ------------
|
|
|
-
|
|
|
+url = url.replace("src", "raw")
|
|
|
|
|
|
|
|
|
|
|
|
@@ -94,7 +94,7 @@ for post_line in post_list:
|
|
|
if (post_line[0:2] == "##"):
|
|
|
if ("Вопросы" in post_line):
|
|
|
quest_exist = True
|
|
|
- if ("Список" in post_line) and ("литературы" in post_line):
|
|
|
+ if ("Списoк литeрaтуры" in post_line) or ("Источники" in post_line):
|
|
|
source_exist = True
|
|
|
if not (quest_exist):
|
|
|
print("Вопросы не найдены")
|