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),