From 10c1218caf0faccff8511ce8b6aefc5aed27a65f Mon Sep 17 00:00:00 2001 From: miteruzo Date: Tue, 5 Nov 2024 12:40:46 +0900 Subject: [PATCH] =?UTF-8?q?#1=20=E3=82=82=E3=82=8D=E3=82=82=E3=82=8D?= =?UTF-8?q?=E5=9F=BA=E7=9B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitmodules | 7 ------- db | 1 - nico.py | 2 ++ 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 .gitmodules delete mode 160000 db diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 3c5684e..0000000 --- a/.gitmodules +++ /dev/null @@ -1,7 +0,0 @@ -[submodule "ai"] - path = ai - url = https://git.miteruzo.com/miteruzo/nizika_broadcast - branch = main -[submodule "db"] - path = db - url = https://git.miteruzo.com/miteruzo/nizika_nico diff --git a/db b/db deleted file mode 160000 index 6a5e6df..0000000 --- a/db +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6a5e6dfadec664a653c697bc5463c943302d2ec2 diff --git a/nico.py b/nico.py index 79bdbc4..f0bf887 100644 --- a/nico.py +++ b/nico.py @@ -8,6 +8,8 @@ import requests from bs4 import BeautifulSoup from requests.exceptions import Timeout +from db.models import Video + KIRIBAN_VIEWS_COUNTS = { *range (100, 1_000, 100), *range (1_000, 10_000, 1_000), *range (10_000, 1_000_001, 10_000),