Compare commits
104 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
66308334ff |
|||
|
a791e03ae4 |
|||
|
7233da8529 |
|||
| 48f66773c7 | |||
|
7653fb924b |
|||
|
07a319388e |
|||
| e108d901e2 | |||
| 570e1b4679 | |||
|
e7f142ecff |
|||
|
a6d75f62a6 |
|||
|
023c459482 |
|||
|
|
6c4f5f799e |
||
|
|
93b1c5e1b3 | ||
|
|
35f3064e52 | ||
|
|
cfde5855c0 | ||
|
|
06140a03ee | ||
|
|
ef65994a82 | ||
|
|
db08433a01 | ||
|
|
42be227916 | ||
|
|
5016cd8cb3 | ||
|
|
f889e36ac2 | ||
|
|
588a412704 | ||
|
|
11f24b1b05 | ||
|
|
ef2ee5e809 | ||
|
|
0017a3eb16 | ||
|
|
8399ce4107 | ||
|
|
d8c7abb531 | ||
|
|
ca946990e1 | ||
|
|
2d2e546673 | ||
|
|
c3a8ded663 | ||
|
|
1786b77f3c | ||
|
a4c1b300ca |
|||
|
ac356e8a5a |
|||
|
42fae7888f |
|||
|
1c87718ced |
|||
|
|
5dcaa253a9 | ||
|
|
a173bd4917 | ||
|
|
911b7fd50a | ||
|
ccafec34fa |
|||
|
0038cd1e8d |
|||
|
afc0e7af30 |
|||
|
|
e7b5675797 | ||
|
|
c3229f3fb0 | ||
|
fc9aa2b4cb |
|||
|
|
fa249bc2be | ||
|
|
4140406c88 | ||
|
|
f144aab824 | ||
|
|
a3a18b8a90 | ||
|
|
02a0a0a8bd |
||
|
|
eb4d0890c8 |
||
|
|
aed9a382ad |
||
|
|
149353e738 |
||
|
|
79cb340599 |
||
|
|
cd82ac9084 |
||
|
|
d035da6bfa |
||
|
|
dff9d9ac18 |
||
|
|
e4d9903149 |
||
|
c631d85522 |
|||
|
7630d190f7 |
|||
|
|
468676c432 | ||
| 974d900321 | |||
| f57e71234a | |||
|
|
ba11447da1 | ||
|
|
adfeea04a4 |
||
|
|
a75201526e |
||
|
|
8b4e0de501 |
||
|
|
f573015254 |
||
|
96748fb97f |
|||
|
|
b5ca577151 |
||
|
91dbac170b |
|||
|
|
77c36791c0 |
||
|
|
7944b62613 |
||
|
|
f37507c82a |
||
|
|
2a5b88b8cd |
||
|
|
4a2c2e382d |
||
|
|
dd3f9a7b1f |
||
|
|
653faabd36 |
||
|
|
f6b985daa5 |
||
|
|
7574be1a2f |
||
|
|
dbf4f1b364 |
||
|
|
b4a5e88a4f |
||
|
|
6ae7c66ec8 |
||
|
|
790013eea9 |
||
|
|
953d30984e |
||
|
|
053fbacb61 |
||
|
|
a1499423d2 |
||
|
|
91a6744100 |
||
| 036f1c3ce4 | |||
| fad157ad29 | |||
|
|
49388e63c9 |
||
| 23cb3c7104 | |||
|
|
058dd19def |
||
|
|
2d687148cd |
||
|
|
a5397d6408 |
||
|
|
4c9687501b |
||
|
|
c4ce6381b8 |
||
|
|
f832174349 |
||
|
|
397c81a213 |
||
|
|
f766202003 |
||
|
|
40b1dd3fcb |
||
|
|
2bf35f303b |
||
|
|
3fb3e72d07 |
||
|
|
bd449c189a |
||
| 3a888af951 |
38 changed files with 4027 additions and 384 deletions
|
|
@ -1,30 +0,0 @@
|
|||
FROM python:3.12
|
||||
|
||||
RUN sed -i 's@deb.debian.org@ftp.kaist.ac.kr@g' /etc/apt/sources.list.d/debian.sources
|
||||
|
||||
# Setup Crontab
|
||||
|
||||
WORKDIR /code
|
||||
COPY crontab /code/crontab
|
||||
COPY requirements.txt /code/requirements.txt
|
||||
COPY app /code/app
|
||||
|
||||
RUN apt update && apt -y install tzdata && \
|
||||
ln -fs /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
|
||||
dpkg-reconfigure --frontend noninteractive tzdata && \
|
||||
apt update && apt -y install cron
|
||||
|
||||
COPY crontab /etc/cron.d/crontab
|
||||
RUN chmod 0644 /etc/cron.d/crontab
|
||||
RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file
|
||||
RUN /usr/bin/crontab /etc/cron.d/crontab
|
||||
|
||||
# Setup Python Environment
|
||||
WORKDIR /code
|
||||
RUN pip config set global.break-system-packages true
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
RUN rm -rf /etc/localtime
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
|
||||
|
||||
CMD ["cron", "-f"]
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
}
|
||||
}
|
||||
37
.gitignore
vendored
37
.gitignore
vendored
|
|
@ -1,15 +1,28 @@
|
|||
20*.png
|
||||
|
||||
# Auth
|
||||
cookies.json
|
||||
|
||||
# Temp Files
|
||||
temp/
|
||||
|
||||
# App
|
||||
.env
|
||||
logs
|
||||
|
||||
venv
|
||||
.venv
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
Icon[]
|
||||
|
||||
__pycache__/
|
||||
config.json
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
63
Dockerfile
63
Dockerfile
|
|
@ -1,27 +1,52 @@
|
|||
FROM python:3.12
|
||||
FROM oven/bun:alpine AS build
|
||||
LABEL maintainer="@imnya"
|
||||
|
||||
RUN sed -i 's@deb.debian.org@ftp.kaist.ac.kr@g' /etc/apt/sources.list.d/debian.sources
|
||||
|
||||
# Setup Crontab
|
||||
|
||||
WORKDIR /code
|
||||
COPY crontab /code/crontab
|
||||
COPY requirements.txt /code/requirements.txt
|
||||
# Set the working directory
|
||||
COPY app /code/app
|
||||
COPY .env /code/app/.env
|
||||
|
||||
RUN apt update && apt -y install cron
|
||||
RUN chmod +x /code/app/run.sh
|
||||
|
||||
COPY crontab /etc/cron.d/crontab
|
||||
RUN chmod 0644 /etc/cron.d/crontab
|
||||
RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file
|
||||
RUN /usr/bin/crontab /etc/cron.d/crontab
|
||||
WORKDIR /code/app
|
||||
RUN mkdir -p /code/app/temp
|
||||
|
||||
# Setup Python Environment
|
||||
# Install dependencies
|
||||
RUN bun install
|
||||
|
||||
# Build the project
|
||||
RUN bun build index.ts --compile --minify --sourcemap --target bun --outfile ./run
|
||||
|
||||
FROM oven/bun:alpine AS runner
|
||||
LABEL maintainer="@imnya"
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /code
|
||||
RUN pip config set global.break-system-packages true
|
||||
RUN pip install -r requirements.txt
|
||||
RUN mkdir -p /code/app
|
||||
|
||||
RUN rm -rf /etc/localtime
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
|
||||
# Copy the built files from the build stage
|
||||
COPY --from=build /code/app/run /code/app/run
|
||||
COPY --from=build /code/app/template /code/app/template
|
||||
COPY --from=build /code/app/.env /code/app/.env
|
||||
COPY --from=build /code/app/run.sh /code/app/run.sh
|
||||
|
||||
CMD ["cron", "-f"]
|
||||
RUN mkdir -p /code/app/temp
|
||||
|
||||
# Set timezone to Asia/Seoul
|
||||
RUN apk add --no-cache tzdata \
|
||||
&& cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime \
|
||||
&& echo "Asia/Seoul" > /etc/timezone \
|
||||
&& apk del tzdata
|
||||
|
||||
# Cron job
|
||||
RUN apk add --no-cache curl
|
||||
RUN curl -Lo /code/app/supercronic https://github.com/aptible/supercronic/releases/latest/download/supercronic-linux-amd64 \
|
||||
&& chmod +x /code/app/supercronic
|
||||
|
||||
RUN curl -o /code/app/temp/vts.xlsx https://f.imnya.ng/.today.isangjeong/vts.xlsx
|
||||
|
||||
RUN mkdir -p /code/app/temp/logs
|
||||
|
||||
COPY cron /code/app/cron
|
||||
RUN chmod +x /code/app/cron
|
||||
|
||||
CMD ["/code/app/supercronic", "/code/app/cron"]
|
||||
|
|
|
|||
17
README.MD
17
README.MD
|
|
@ -1,17 +0,0 @@
|
|||
# Today.isangjeong
|
||||
|
||||
오늘 급식도 인스타로
|
||||
|
||||
|
||||
실행하기 전에 `app/config.json`가 필요합니다.
|
||||
|
||||
`app/config.example.json`을 참고해서 만들어주세요.
|
||||
|
||||
|
||||
**이 프로젝트는 백업을 위한 레포로 친절하게 문서를 쓸 생각이 없습니다.**
|
||||
|
||||
`docker build --no-cache --tag today-isangjeong:latest .`
|
||||
|
||||
`docker rm --force today-isangjeong`
|
||||
|
||||
`docker run -d -v /data/hdd/today.isanjeong-docker:/code/app/temp --name today-isangjeong today-isangjeong:latest`
|
||||
1
README.md
Normal file
1
README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
라이선스가 지정되어 있지 않습니다.
|
||||
36
app/.gitignore
vendored
Normal file
36
app/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# dependencies (bun install)
|
||||
node_modules
|
||||
|
||||
# output
|
||||
out
|
||||
dist
|
||||
*.tgz
|
||||
|
||||
# code coverage
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# logs
|
||||
logs
|
||||
_.log
|
||||
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
|
||||
|
||||
# dotenv environment variable files
|
||||
.env
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.local
|
||||
|
||||
# caches
|
||||
.eslintcache
|
||||
.cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# IntelliJ based IDEs
|
||||
.idea
|
||||
|
||||
# Finder (MacOS) folder config
|
||||
.DS_Store
|
||||
|
||||
temp
|
||||
15
app/README.md
Normal file
15
app/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# app
|
||||
|
||||
To install dependencies:
|
||||
|
||||
```bash
|
||||
bun install
|
||||
```
|
||||
|
||||
To run:
|
||||
|
||||
```bash
|
||||
bun run index.ts
|
||||
```
|
||||
|
||||
This project was created using `bun init` in bun v1.2.12. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
|
||||
572
app/bun.lock
Normal file
572
app/bun.lock
Normal file
|
|
@ -0,0 +1,572 @@
|
|||
{
|
||||
"lockfileVersion": 1,
|
||||
"configVersion": 0,
|
||||
"workspaces": {
|
||||
"": {
|
||||
"name": "app",
|
||||
"dependencies": {
|
||||
"@google/generative-ai": "^0.24.1",
|
||||
"@napi-rs/canvas": "^0.1.70",
|
||||
"cheerio": "^1.0.0",
|
||||
"exceljs": "^4.4.0",
|
||||
"igramapi": "^1.48.3",
|
||||
"inquirer": "^12.6.0",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5",
|
||||
},
|
||||
},
|
||||
},
|
||||
"packages": {
|
||||
"@fast-csv/format": ["@fast-csv/format@4.3.5", "", { "dependencies": { "@types/node": "^14.0.1", "lodash.escaperegexp": "^4.1.2", "lodash.isboolean": "^3.0.3", "lodash.isequal": "^4.5.0", "lodash.isfunction": "^3.0.9", "lodash.isnil": "^4.0.0" } }, "sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A=="],
|
||||
|
||||
"@fast-csv/parse": ["@fast-csv/parse@4.3.6", "", { "dependencies": { "@types/node": "^14.0.1", "lodash.escaperegexp": "^4.1.2", "lodash.groupby": "^4.6.0", "lodash.isfunction": "^3.0.9", "lodash.isnil": "^4.0.0", "lodash.isundefined": "^3.0.1", "lodash.uniq": "^4.5.0" } }, "sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA=="],
|
||||
|
||||
"@google/generative-ai": ["@google/generative-ai@0.24.1", "", {}, "sha512-MqO+MLfM6kjxcKoy0p1wRzG3b4ZZXtPI+z2IE26UogS2Cm/XHO+7gGRBh6gcJsOiIVoH93UwKvW4HdgiOZCy9Q=="],
|
||||
|
||||
"@inquirer/checkbox": ["@inquirer/checkbox@4.1.5", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/figures": "^1.0.11", "@inquirer/type": "^3.0.6", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-swPczVU+at65xa5uPfNP9u3qx/alNwiaykiI/ExpsmMSQW55trmZcwhYWzw/7fj+n6Q8z1eENvR7vFfq9oPSAQ=="],
|
||||
|
||||
"@inquirer/confirm": ["@inquirer/confirm@5.1.9", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-NgQCnHqFTjF7Ys2fsqK2WtnA8X1kHyInyG+nMIuHowVTIgIuS10T4AznI/PvbqSpJqjCUqNBlKGh1v3bwLFL4w=="],
|
||||
|
||||
"@inquirer/core": ["@inquirer/core@10.1.10", "", { "dependencies": { "@inquirer/figures": "^1.0.11", "@inquirer/type": "^3.0.6", "ansi-escapes": "^4.3.2", "cli-width": "^4.1.0", "mute-stream": "^2.0.0", "signal-exit": "^4.1.0", "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-roDaKeY1PYY0aCqhRmXihrHjoSW2A00pV3Ke5fTpMCkzcGF64R8e0lw3dK+eLEHwS4vB5RnW1wuQmvzoRul8Mw=="],
|
||||
|
||||
"@inquirer/editor": ["@inquirer/editor@4.2.10", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6", "external-editor": "^3.1.0" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-5GVWJ+qeI6BzR6TIInLP9SXhWCEcvgFQYmcRG6d6RIlhFjM5TyG18paTGBgRYyEouvCmzeco47x9zX9tQEofkw=="],
|
||||
|
||||
"@inquirer/expand": ["@inquirer/expand@4.0.12", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6", "yoctocolors-cjs": "^2.1.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-jV8QoZE1fC0vPe6TnsOfig+qwu7Iza1pkXoUJ3SroRagrt2hxiL+RbM432YAihNR7m7XnU0HWl/WQ35RIGmXHw=="],
|
||||
|
||||
"@inquirer/figures": ["@inquirer/figures@1.0.11", "", {}, "sha512-eOg92lvrn/aRUqbxRyvpEWnrvRuTYRifixHkYVpJiygTgVSBIHDqLh0SrMQXkafvULg3ck11V7xvR+zcgvpHFw=="],
|
||||
|
||||
"@inquirer/input": ["@inquirer/input@4.1.9", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-mshNG24Ij5KqsQtOZMgj5TwEjIf+F2HOESk6bjMwGWgcH5UBe8UoljwzNFHqdMbGYbgAf6v2wU/X9CAdKJzgOA=="],
|
||||
|
||||
"@inquirer/number": ["@inquirer/number@3.0.12", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-7HRFHxbPCA4e4jMxTQglHJwP+v/kpFsCf2szzfBHy98Wlc3L08HL76UDiA87TOdX5fwj2HMOLWqRWv9Pnn+Z5Q=="],
|
||||
|
||||
"@inquirer/password": ["@inquirer/password@4.0.12", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6", "ansi-escapes": "^4.3.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-FlOB0zvuELPEbnBYiPaOdJIaDzb2PmJ7ghi/SVwIHDDSQ2K4opGBkF+5kXOg6ucrtSUQdLhVVY5tycH0j0l+0g=="],
|
||||
|
||||
"@inquirer/prompts": ["@inquirer/prompts@7.5.0", "", { "dependencies": { "@inquirer/checkbox": "^4.1.5", "@inquirer/confirm": "^5.1.9", "@inquirer/editor": "^4.2.10", "@inquirer/expand": "^4.0.12", "@inquirer/input": "^4.1.9", "@inquirer/number": "^3.0.12", "@inquirer/password": "^4.0.12", "@inquirer/rawlist": "^4.1.0", "@inquirer/search": "^3.0.12", "@inquirer/select": "^4.2.0" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-tk8Bx7l5AX/CR0sVfGj3Xg6v7cYlFBkEahH+EgBB+cZib6Fc83dwerTbzj7f2+qKckjIUGsviWRI1d7lx6nqQA=="],
|
||||
|
||||
"@inquirer/rawlist": ["@inquirer/rawlist@4.1.0", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/type": "^3.0.6", "yoctocolors-cjs": "^2.1.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-6ob45Oh9pXmfprKqUiEeMz/tjtVTFQTgDDz1xAMKMrIvyrYjAmRbQZjMJfsictlL4phgjLhdLu27IkHNnNjB7g=="],
|
||||
|
||||
"@inquirer/search": ["@inquirer/search@3.0.12", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/figures": "^1.0.11", "@inquirer/type": "^3.0.6", "yoctocolors-cjs": "^2.1.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-H/kDJA3kNlnNIjB8YsaXoQI0Qccgf0Na14K1h8ExWhNmUg2E941dyFPrZeugihEa9AZNW5NdsD/NcvUME83OPQ=="],
|
||||
|
||||
"@inquirer/select": ["@inquirer/select@4.2.0", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/figures": "^1.0.11", "@inquirer/type": "^3.0.6", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-KkXQ4aSySWimpV4V/TUJWdB3tdfENZUU765GjOIZ0uPwdbGIG6jrxD4dDf1w68uP+DVtfNhr1A92B+0mbTZ8FA=="],
|
||||
|
||||
"@inquirer/type": ["@inquirer/type@3.0.6", "", { "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-/mKVCtVpyBu3IDarv0G+59KC4stsD5mDsGpYh+GKs1NZT88Jh52+cuoA1AtLk2Q0r/quNl+1cSUyLRHBFeD0XA=="],
|
||||
|
||||
"@lifeomic/attempt": ["@lifeomic/attempt@3.1.0", "", {}, "sha512-QZqem4QuAnAyzfz+Gj5/+SLxqwCAw2qmt7732ZXodr6VDWGeYLG6w1i/vYLa55JQM9wRuBKLmXmiZ2P0LtE5rw=="],
|
||||
|
||||
"@napi-rs/canvas": ["@napi-rs/canvas@0.1.70", "", { "optionalDependencies": { "@napi-rs/canvas-android-arm64": "0.1.70", "@napi-rs/canvas-darwin-arm64": "0.1.70", "@napi-rs/canvas-darwin-x64": "0.1.70", "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.70", "@napi-rs/canvas-linux-arm64-gnu": "0.1.70", "@napi-rs/canvas-linux-arm64-musl": "0.1.70", "@napi-rs/canvas-linux-riscv64-gnu": "0.1.70", "@napi-rs/canvas-linux-x64-gnu": "0.1.70", "@napi-rs/canvas-linux-x64-musl": "0.1.70", "@napi-rs/canvas-win32-x64-msvc": "0.1.70" } }, "sha512-nD6NGa4JbNYSZYsTnLGrqe9Kn/lCkA4ybXt8sx5ojDqZjr2i0TWAHxx/vhgfjX+i3hCdKWufxYwi7CfXqtITSA=="],
|
||||
|
||||
"@napi-rs/canvas-android-arm64": ["@napi-rs/canvas-android-arm64@0.1.70", "", { "os": "android", "cpu": "arm64" }, "sha512-I/YOuQ0wbkVYxVaYtCgN42WKTYxNqFA0gTcTrHIGG1jfpDSyZWII/uHcjOo4nzd19io6Y4+/BqP8E5hJgf9OmQ=="],
|
||||
|
||||
"@napi-rs/canvas-darwin-arm64": ["@napi-rs/canvas-darwin-arm64@0.1.70", "", { "os": "darwin", "cpu": "arm64" }, "sha512-4pPGyXetHIHkw2TOJHujt3mkCP8LdDu8+CT15ld9Id39c752RcI0amDHSuMLMQfAjvusA9B5kKxazwjMGjEJpQ=="],
|
||||
|
||||
"@napi-rs/canvas-darwin-x64": ["@napi-rs/canvas-darwin-x64@0.1.70", "", { "os": "darwin", "cpu": "x64" }, "sha512-+2N6Os9LbkmDMHL+raknrUcLQhsXzc5CSXRbXws9C3pv/mjHRVszQ9dhFUUe9FjfPhCJznO6USVdwOtu7pOrzQ=="],
|
||||
|
||||
"@napi-rs/canvas-linux-arm-gnueabihf": ["@napi-rs/canvas-linux-arm-gnueabihf@0.1.70", "", { "os": "linux", "cpu": "arm" }, "sha512-QjscX9OaKq/990sVhSMj581xuqLgiaPVMjjYvWaCmAJRkNQ004QfoSMEm3FoTqM4DRoquP8jvuEXScVJsc1rqQ=="],
|
||||
|
||||
"@napi-rs/canvas-linux-arm64-gnu": ["@napi-rs/canvas-linux-arm64-gnu@0.1.70", "", { "os": "linux", "cpu": "arm64" }, "sha512-LNakMOwwqwiHIwMpnMAbFRczQMQ7TkkMyATqFCOtUJNlE6LPP/QiUj/mlFrNbUn/hctqShJ60gWEb52ZTALbVw=="],
|
||||
|
||||
"@napi-rs/canvas-linux-arm64-musl": ["@napi-rs/canvas-linux-arm64-musl@0.1.70", "", { "os": "linux", "cpu": "arm64" }, "sha512-wBTOllEYNfJCHOdZj9v8gLzZ4oY3oyPX8MSRvaxPm/s7RfEXxCyZ8OhJ5xAyicsDdbE5YBZqdmaaeP5+xKxvtg=="],
|
||||
|
||||
"@napi-rs/canvas-linux-riscv64-gnu": ["@napi-rs/canvas-linux-riscv64-gnu@0.1.70", "", { "os": "linux", "cpu": "none" }, "sha512-GVUUPC8TuuFqHip0rxHkUqArQnlzmlXmTEBuXAWdgCv85zTCFH8nOHk/YCF5yo0Z2eOm8nOi90aWs0leJ4OE5Q=="],
|
||||
|
||||
"@napi-rs/canvas-linux-x64-gnu": ["@napi-rs/canvas-linux-x64-gnu@0.1.70", "", { "os": "linux", "cpu": "x64" }, "sha512-/kvUa2lZRwGNyfznSn5t1ShWJnr/m5acSlhTV3eXECafObjl0VBuA1HJw0QrilLpb4Fe0VLywkpD1NsMoVDROQ=="],
|
||||
|
||||
"@napi-rs/canvas-linux-x64-musl": ["@napi-rs/canvas-linux-x64-musl@0.1.70", "", { "os": "linux", "cpu": "x64" }, "sha512-aqlv8MLpycoMKRmds7JWCfVwNf1fiZxaU7JwJs9/ExjTD8lX2KjsO7CTeAj5Cl4aEuzxUWbJPUUE2Qu9cZ1vfg=="],
|
||||
|
||||
"@napi-rs/canvas-win32-x64-msvc": ["@napi-rs/canvas-win32-x64-msvc@0.1.70", "", { "os": "win32", "cpu": "x64" }, "sha512-Q9QU3WIpwBTVHk4cPfBjGHGU4U0llQYRXgJtFtYqqGNEOKVN4OT6PQ+ve63xwIPODMpZ0HHyj/KLGc9CWc3EtQ=="],
|
||||
|
||||
"@types/bluebird": ["@types/bluebird@3.5.42", "", {}, "sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A=="],
|
||||
|
||||
"@types/bun": ["@types/bun@1.2.12", "", { "dependencies": { "bun-types": "1.2.12" } }, "sha512-lY/GQTXDGsolT/TiH72p1tuyUORuRrdV7VwOTOjDOt8uTBJQOJc5zz3ufwwDl0VBaoxotSk4LdP0hhjLJ6ypIQ=="],
|
||||
|
||||
"@types/caseless": ["@types/caseless@0.12.5", "", {}, "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg=="],
|
||||
|
||||
"@types/chance": ["@types/chance@1.1.6", "", {}, "sha512-V+pm3stv1Mvz8fSKJJod6CglNGVqEQ6OyuqitoDkWywEODM/eJd1eSuIp9xt6DrX8BWZ2eDSIzbw1tPCUTvGbQ=="],
|
||||
|
||||
"@types/node": ["@types/node@22.15.17", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-wIX2aSZL5FE+MR0JlvF87BNVrtFWf6AE6rxSE9X7OwnVvoyCQjpzSRJ+M87se/4QCkCiebQAqrJ0y6fwIyi7nw=="],
|
||||
|
||||
"@types/request": ["@types/request@2.48.12", "", { "dependencies": { "@types/caseless": "*", "@types/node": "*", "@types/tough-cookie": "*", "form-data": "^2.5.0" } }, "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw=="],
|
||||
|
||||
"@types/request-promise": ["@types/request-promise@4.1.51", "", { "dependencies": { "@types/bluebird": "*", "@types/request": "*" } }, "sha512-qVcP9Fuzh9oaAh8oPxiSoWMFGnWKkJDknnij66vi09Yiy62bsSDqtd+fG5kIM9wLLgZsRP3Y6acqj9O/v2ZtRw=="],
|
||||
|
||||
"@types/tough-cookie": ["@types/tough-cookie@4.0.5", "", {}, "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA=="],
|
||||
|
||||
"ajv": ["ajv@6.12.6", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g=="],
|
||||
|
||||
"ansi-escapes": ["ansi-escapes@4.3.2", "", { "dependencies": { "type-fest": "^0.21.3" } }, "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ=="],
|
||||
|
||||
"ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
|
||||
|
||||
"ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
|
||||
|
||||
"archiver": ["archiver@5.3.2", "", { "dependencies": { "archiver-utils": "^2.1.0", "async": "^3.2.4", "buffer-crc32": "^0.2.1", "readable-stream": "^3.6.0", "readdir-glob": "^1.1.2", "tar-stream": "^2.2.0", "zip-stream": "^4.1.0" } }, "sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw=="],
|
||||
|
||||
"archiver-utils": ["archiver-utils@2.1.0", "", { "dependencies": { "glob": "^7.1.4", "graceful-fs": "^4.2.0", "lazystream": "^1.0.0", "lodash.defaults": "^4.2.0", "lodash.difference": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.isplainobject": "^4.0.6", "lodash.union": "^4.6.0", "normalize-path": "^3.0.0", "readable-stream": "^2.0.0" } }, "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw=="],
|
||||
|
||||
"asn1": ["asn1@0.2.6", "", { "dependencies": { "safer-buffer": "~2.1.0" } }, "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ=="],
|
||||
|
||||
"assert-plus": ["assert-plus@1.0.0", "", {}, "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="],
|
||||
|
||||
"async": ["async@3.2.6", "", {}, "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA=="],
|
||||
|
||||
"asynckit": ["asynckit@0.4.0", "", {}, "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="],
|
||||
|
||||
"aws-sign2": ["aws-sign2@0.7.0", "", {}, "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA=="],
|
||||
|
||||
"aws4": ["aws4@1.13.2", "", {}, "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw=="],
|
||||
|
||||
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
||||
|
||||
"base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
|
||||
|
||||
"bcrypt-pbkdf": ["bcrypt-pbkdf@1.0.2", "", { "dependencies": { "tweetnacl": "^0.14.3" } }, "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w=="],
|
||||
|
||||
"big-integer": ["big-integer@1.6.52", "", {}, "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg=="],
|
||||
|
||||
"bignumber.js": ["bignumber.js@9.3.0", "", {}, "sha512-EM7aMFTXbptt/wZdMlBv2t8IViwQL+h6SLHosp8Yf0dqJMTnY6iL32opnAB6kAdL0SZPuvcAzFr31o0c/R3/RA=="],
|
||||
|
||||
"binary": ["binary@0.3.0", "", { "dependencies": { "buffers": "~0.1.1", "chainsaw": "~0.1.0" } }, "sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg=="],
|
||||
|
||||
"bl": ["bl@4.1.0", "", { "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" } }, "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w=="],
|
||||
|
||||
"bluebird": ["bluebird@3.7.2", "", {}, "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="],
|
||||
|
||||
"boolbase": ["boolbase@1.0.0", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="],
|
||||
|
||||
"brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="],
|
||||
|
||||
"buffer": ["buffer@5.7.1", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],
|
||||
|
||||
"buffer-crc32": ["buffer-crc32@0.2.13", "", {}, "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ=="],
|
||||
|
||||
"buffer-indexof-polyfill": ["buffer-indexof-polyfill@1.0.2", "", {}, "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A=="],
|
||||
|
||||
"buffers": ["buffers@0.1.1", "", {}, "sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ=="],
|
||||
|
||||
"bun-types": ["bun-types@1.2.12", "", { "dependencies": { "@types/node": "*" } }, "sha512-tvWMx5vPqbRXgE8WUZI94iS1xAYs8bkqESR9cxBB1Wi+urvfTrF1uzuDgBHFAdO0+d2lmsbG3HmeKMvUyj6pWA=="],
|
||||
|
||||
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
|
||||
|
||||
"caseless": ["caseless@0.12.0", "", {}, "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw=="],
|
||||
|
||||
"chainsaw": ["chainsaw@0.1.0", "", { "dependencies": { "traverse": ">=0.3.0 <0.4" } }, "sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ=="],
|
||||
|
||||
"chance": ["chance@1.1.12", "", {}, "sha512-vVBIGQVnwtUG+SYe0ge+3MvF78cvSpuCOEUJr7sVEk2vSBuMW6OXNJjSzdtzrlxNUEaoqH2GBd5Y/+18BEB01Q=="],
|
||||
|
||||
"chardet": ["chardet@0.7.0", "", {}, "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA=="],
|
||||
|
||||
"cheerio": ["cheerio@1.0.0", "", { "dependencies": { "cheerio-select": "^2.1.0", "dom-serializer": "^2.0.0", "domhandler": "^5.0.3", "domutils": "^3.1.0", "encoding-sniffer": "^0.2.0", "htmlparser2": "^9.1.0", "parse5": "^7.1.2", "parse5-htmlparser2-tree-adapter": "^7.0.0", "parse5-parser-stream": "^7.1.2", "undici": "^6.19.5", "whatwg-mimetype": "^4.0.0" } }, "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww=="],
|
||||
|
||||
"cheerio-select": ["cheerio-select@2.1.0", "", { "dependencies": { "boolbase": "^1.0.0", "css-select": "^5.1.0", "css-what": "^6.1.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.0.1" } }, "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g=="],
|
||||
|
||||
"class-transformer": ["class-transformer@0.5.1", "", {}, "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw=="],
|
||||
|
||||
"cli-width": ["cli-width@4.1.0", "", {}, "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ=="],
|
||||
|
||||
"color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],
|
||||
|
||||
"color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],
|
||||
|
||||
"combined-stream": ["combined-stream@1.0.8", "", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="],
|
||||
|
||||
"compress-commons": ["compress-commons@4.1.2", "", { "dependencies": { "buffer-crc32": "^0.2.13", "crc32-stream": "^4.0.2", "normalize-path": "^3.0.0", "readable-stream": "^3.6.0" } }, "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg=="],
|
||||
|
||||
"concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="],
|
||||
|
||||
"core-util-is": ["core-util-is@1.0.2", "", {}, "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="],
|
||||
|
||||
"crc-32": ["crc-32@1.2.2", "", { "bin": { "crc32": "bin/crc32.njs" } }, "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="],
|
||||
|
||||
"crc32-stream": ["crc32-stream@4.0.3", "", { "dependencies": { "crc-32": "^1.2.0", "readable-stream": "^3.4.0" } }, "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw=="],
|
||||
|
||||
"css-select": ["css-select@5.1.0", "", { "dependencies": { "boolbase": "^1.0.0", "css-what": "^6.1.0", "domhandler": "^5.0.2", "domutils": "^3.0.1", "nth-check": "^2.0.1" } }, "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg=="],
|
||||
|
||||
"css-what": ["css-what@6.1.0", "", {}, "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw=="],
|
||||
|
||||
"dashdash": ["dashdash@1.14.1", "", { "dependencies": { "assert-plus": "^1.0.0" } }, "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g=="],
|
||||
|
||||
"dayjs": ["dayjs@1.11.13", "", {}, "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="],
|
||||
|
||||
"debug": ["debug@4.4.0", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA=="],
|
||||
|
||||
"delayed-stream": ["delayed-stream@1.0.0", "", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="],
|
||||
|
||||
"dom-serializer": ["dom-serializer@2.0.0", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", "entities": "^4.2.0" } }, "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg=="],
|
||||
|
||||
"domelementtype": ["domelementtype@2.3.0", "", {}, "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw=="],
|
||||
|
||||
"domhandler": ["domhandler@5.0.3", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="],
|
||||
|
||||
"domutils": ["domutils@3.2.2", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="],
|
||||
|
||||
"dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
|
||||
|
||||
"duplexer2": ["duplexer2@0.1.4", "", { "dependencies": { "readable-stream": "^2.0.2" } }, "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA=="],
|
||||
|
||||
"ecc-jsbn": ["ecc-jsbn@0.1.2", "", { "dependencies": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" } }, "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw=="],
|
||||
|
||||
"emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
|
||||
|
||||
"encoding-sniffer": ["encoding-sniffer@0.2.0", "", { "dependencies": { "iconv-lite": "^0.6.3", "whatwg-encoding": "^3.1.1" } }, "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg=="],
|
||||
|
||||
"end-of-stream": ["end-of-stream@1.4.4", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="],
|
||||
|
||||
"entities": ["entities@4.5.0", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
|
||||
|
||||
"es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
|
||||
|
||||
"es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
|
||||
|
||||
"es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="],
|
||||
|
||||
"es-set-tostringtag": ["es-set-tostringtag@2.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="],
|
||||
|
||||
"exceljs": ["exceljs@4.4.0", "", { "dependencies": { "archiver": "^5.0.0", "dayjs": "^1.8.34", "fast-csv": "^4.3.1", "jszip": "^3.10.1", "readable-stream": "^3.6.0", "saxes": "^5.0.1", "tmp": "^0.2.0", "unzipper": "^0.10.11", "uuid": "^8.3.0" } }, "sha512-XctvKaEMaj1Ii9oDOqbW/6e1gXknSY4g/aLCDicOXqBE4M0nRWkUu0PTp++UPNzoFY12BNHMfs/VadKIS6llvg=="],
|
||||
|
||||
"extend": ["extend@3.0.2", "", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="],
|
||||
|
||||
"external-editor": ["external-editor@3.1.0", "", { "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" } }, "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew=="],
|
||||
|
||||
"extsprintf": ["extsprintf@1.3.0", "", {}, "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g=="],
|
||||
|
||||
"fast-csv": ["fast-csv@4.3.6", "", { "dependencies": { "@fast-csv/format": "4.3.5", "@fast-csv/parse": "4.3.6" } }, "sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw=="],
|
||||
|
||||
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
||||
|
||||
"fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="],
|
||||
|
||||
"forever-agent": ["forever-agent@0.6.1", "", {}, "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw=="],
|
||||
|
||||
"form-data": ["form-data@2.3.3", "", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", "mime-types": "^2.1.12" } }, "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ=="],
|
||||
|
||||
"fs-constants": ["fs-constants@1.0.0", "", {}, "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="],
|
||||
|
||||
"fs.realpath": ["fs.realpath@1.0.0", "", {}, "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="],
|
||||
|
||||
"fstream": ["fstream@1.0.12", "", { "dependencies": { "graceful-fs": "^4.1.2", "inherits": "~2.0.0", "mkdirp": ">=0.5 0", "rimraf": "2" } }, "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg=="],
|
||||
|
||||
"function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
|
||||
|
||||
"get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
|
||||
|
||||
"get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
|
||||
|
||||
"getpass": ["getpass@0.1.7", "", { "dependencies": { "assert-plus": "^1.0.0" } }, "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng=="],
|
||||
|
||||
"glob": ["glob@7.2.3", "", { "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="],
|
||||
|
||||
"gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
|
||||
|
||||
"graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
|
||||
|
||||
"har-schema": ["har-schema@2.0.0", "", {}, "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q=="],
|
||||
|
||||
"har-validator": ["har-validator@5.1.5", "", { "dependencies": { "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w=="],
|
||||
|
||||
"has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
|
||||
|
||||
"has-tostringtag": ["has-tostringtag@1.0.2", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="],
|
||||
|
||||
"hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="],
|
||||
|
||||
"htmlparser2": ["htmlparser2@9.1.0", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.1.0", "entities": "^4.5.0" } }, "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ=="],
|
||||
|
||||
"http-signature": ["http-signature@1.2.0", "", { "dependencies": { "assert-plus": "^1.0.0", "jsprim": "^1.2.2", "sshpk": "^1.7.0" } }, "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ=="],
|
||||
|
||||
"iconv-lite": ["iconv-lite@0.6.3", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw=="],
|
||||
|
||||
"ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="],
|
||||
|
||||
"igramapi": ["igramapi@1.48.3", "", { "dependencies": { "@lifeomic/attempt": "^3.0.0", "@types/chance": "^1.0.2", "@types/request-promise": "^4.1.43", "bluebird": "^3.7.1", "chance": "^1.0.18", "class-transformer": "^0.5.1", "debug": "^4.1.1", "image-size": "^0.7.3", "json-bigint": "^1.0.0", "lodash": "^4.17.20", "luxon": "^1.28.1", "reflect-metadata": "^0.1.13", "request": "^2.88.0", "request-promise": "^4.2.4", "rxjs": "^6.5.2", "snakecase-keys": "^3.1.0", "tough-cookie": "^4.1.3", "ts-custom-error": "^3.1.1", "ts-xor": "^1.0.6", "url-regex-safe": "^3.0.0", "utility-types": "^3.10.0" }, "peerDependencies": { "re2": "^1.17.2" }, "optionalPeers": ["re2"] }, "sha512-Q2NB/IawGHVHxWqyqVwvyH3wsaVoIeUdgzOFfuq5jFXyjBP62S8DZhfy+3VvYH/ED65dvbaQhqDRZ6l+fDJINQ=="],
|
||||
|
||||
"image-size": ["image-size@0.7.5", "", { "bin": { "image-size": "bin/image-size.js" } }, "sha512-Hiyv+mXHfFEP7LzUL/llg9RwFxxY+o9N3JVLIeG5E7iFIFAalxvRU9UZthBdYDEVnzHMgjnKJPPpay5BWf1g9g=="],
|
||||
|
||||
"immediate": ["immediate@3.0.6", "", {}, "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="],
|
||||
|
||||
"inflight": ["inflight@1.0.6", "", { "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA=="],
|
||||
|
||||
"inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
|
||||
|
||||
"inquirer": ["inquirer@12.6.0", "", { "dependencies": { "@inquirer/core": "^10.1.10", "@inquirer/prompts": "^7.5.0", "@inquirer/type": "^3.0.6", "ansi-escapes": "^4.3.2", "mute-stream": "^2.0.0", "run-async": "^3.0.0", "rxjs": "^7.8.2" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-3zmmccQd/8o65nPOZJZ+2wqt76Ghw3+LaMrmc6JE/IzcvQhJ1st+QLCOo/iLS85/tILU0myG31a2TAZX0ysAvg=="],
|
||||
|
||||
"ip-regex": ["ip-regex@4.3.0", "", {}, "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q=="],
|
||||
|
||||
"is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="],
|
||||
|
||||
"is-typedarray": ["is-typedarray@1.0.0", "", {}, "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="],
|
||||
|
||||
"isarray": ["isarray@1.0.0", "", {}, "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="],
|
||||
|
||||
"isstream": ["isstream@0.1.2", "", {}, "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g=="],
|
||||
|
||||
"jsbn": ["jsbn@0.1.1", "", {}, "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg=="],
|
||||
|
||||
"json-bigint": ["json-bigint@1.0.0", "", { "dependencies": { "bignumber.js": "^9.0.0" } }, "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ=="],
|
||||
|
||||
"json-schema": ["json-schema@0.4.0", "", {}, "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="],
|
||||
|
||||
"json-schema-traverse": ["json-schema-traverse@0.4.1", "", {}, "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="],
|
||||
|
||||
"json-stringify-safe": ["json-stringify-safe@5.0.1", "", {}, "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA=="],
|
||||
|
||||
"jsprim": ["jsprim@1.4.2", "", { "dependencies": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", "json-schema": "0.4.0", "verror": "1.10.0" } }, "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw=="],
|
||||
|
||||
"jszip": ["jszip@3.10.1", "", { "dependencies": { "lie": "~3.3.0", "pako": "~1.0.2", "readable-stream": "~2.3.6", "setimmediate": "^1.0.5" } }, "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g=="],
|
||||
|
||||
"lazystream": ["lazystream@1.0.1", "", { "dependencies": { "readable-stream": "^2.0.5" } }, "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw=="],
|
||||
|
||||
"lie": ["lie@3.3.0", "", { "dependencies": { "immediate": "~3.0.5" } }, "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ=="],
|
||||
|
||||
"listenercount": ["listenercount@1.0.1", "", {}, "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ=="],
|
||||
|
||||
"lodash": ["lodash@4.17.21", "", {}, "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="],
|
||||
|
||||
"lodash.defaults": ["lodash.defaults@4.2.0", "", {}, "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ=="],
|
||||
|
||||
"lodash.difference": ["lodash.difference@4.5.0", "", {}, "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA=="],
|
||||
|
||||
"lodash.escaperegexp": ["lodash.escaperegexp@4.1.2", "", {}, "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw=="],
|
||||
|
||||
"lodash.flatten": ["lodash.flatten@4.4.0", "", {}, "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g=="],
|
||||
|
||||
"lodash.groupby": ["lodash.groupby@4.6.0", "", {}, "sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw=="],
|
||||
|
||||
"lodash.isboolean": ["lodash.isboolean@3.0.3", "", {}, "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg=="],
|
||||
|
||||
"lodash.isequal": ["lodash.isequal@4.5.0", "", {}, "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ=="],
|
||||
|
||||
"lodash.isfunction": ["lodash.isfunction@3.0.9", "", {}, "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw=="],
|
||||
|
||||
"lodash.isnil": ["lodash.isnil@4.0.0", "", {}, "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng=="],
|
||||
|
||||
"lodash.isplainobject": ["lodash.isplainobject@4.0.6", "", {}, "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="],
|
||||
|
||||
"lodash.isundefined": ["lodash.isundefined@3.0.1", "", {}, "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA=="],
|
||||
|
||||
"lodash.union": ["lodash.union@4.6.0", "", {}, "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw=="],
|
||||
|
||||
"lodash.uniq": ["lodash.uniq@4.5.0", "", {}, "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ=="],
|
||||
|
||||
"luxon": ["luxon@1.28.1", "", {}, "sha512-gYHAa180mKrNIUJCbwpmD0aTu9kV0dREDrwNnuyFAsO1Wt0EVYSZelPnJlbj9HplzXX/YWXHFTL45kvZ53M0pw=="],
|
||||
|
||||
"map-obj": ["map-obj@4.3.0", "", {}, "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ=="],
|
||||
|
||||
"math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
|
||||
|
||||
"mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="],
|
||||
|
||||
"mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],
|
||||
|
||||
"minimatch": ["minimatch@5.1.6", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g=="],
|
||||
|
||||
"mkdirp": ["mkdirp@3.0.1", "", { "bin": { "mkdirp": "dist/cjs/src/bin.js" } }, "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg=="],
|
||||
|
||||
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
||||
|
||||
"mute-stream": ["mute-stream@2.0.0", "", {}, "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA=="],
|
||||
|
||||
"normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="],
|
||||
|
||||
"nth-check": ["nth-check@2.1.1", "", { "dependencies": { "boolbase": "^1.0.0" } }, "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w=="],
|
||||
|
||||
"oauth-sign": ["oauth-sign@0.9.0", "", {}, "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="],
|
||||
|
||||
"once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
|
||||
|
||||
"os-tmpdir": ["os-tmpdir@1.0.2", "", {}, "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g=="],
|
||||
|
||||
"pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="],
|
||||
|
||||
"parse5": ["parse5@7.3.0", "", { "dependencies": { "entities": "^6.0.0" } }, "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw=="],
|
||||
|
||||
"parse5-htmlparser2-tree-adapter": ["parse5-htmlparser2-tree-adapter@7.1.0", "", { "dependencies": { "domhandler": "^5.0.3", "parse5": "^7.0.0" } }, "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g=="],
|
||||
|
||||
"parse5-parser-stream": ["parse5-parser-stream@7.1.2", "", { "dependencies": { "parse5": "^7.0.0" } }, "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow=="],
|
||||
|
||||
"path-is-absolute": ["path-is-absolute@1.0.1", "", {}, "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="],
|
||||
|
||||
"performance-now": ["performance-now@2.1.0", "", {}, "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="],
|
||||
|
||||
"process-nextick-args": ["process-nextick-args@2.0.1", "", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="],
|
||||
|
||||
"psl": ["psl@1.15.0", "", { "dependencies": { "punycode": "^2.3.1" } }, "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w=="],
|
||||
|
||||
"punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
||||
|
||||
"qs": ["qs@6.5.3", "", {}, "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA=="],
|
||||
|
||||
"querystringify": ["querystringify@2.2.0", "", {}, "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="],
|
||||
|
||||
"readable-stream": ["readable-stream@3.6.2", "", { "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="],
|
||||
|
||||
"readdir-glob": ["readdir-glob@1.1.3", "", { "dependencies": { "minimatch": "^5.1.0" } }, "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA=="],
|
||||
|
||||
"reflect-metadata": ["reflect-metadata@0.1.14", "", {}, "sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A=="],
|
||||
|
||||
"request": ["request@2.88.2", "", { "dependencies": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", "caseless": "~0.12.0", "combined-stream": "~1.0.6", "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", "mime-types": "~2.1.19", "oauth-sign": "~0.9.0", "performance-now": "^2.1.0", "qs": "~6.5.2", "safe-buffer": "^5.1.2", "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" } }, "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw=="],
|
||||
|
||||
"request-promise": ["request-promise@4.2.6", "", { "dependencies": { "bluebird": "^3.5.0", "request-promise-core": "1.1.4", "stealthy-require": "^1.1.1", "tough-cookie": "^2.3.3" }, "peerDependencies": { "request": "^2.34" } }, "sha512-HCHI3DJJUakkOr8fNoCc73E5nU5bqITjOYFMDrKHYOXWXrgD/SBaC7LjwuPymUprRyuF06UK7hd/lMHkmUXglQ=="],
|
||||
|
||||
"request-promise-core": ["request-promise-core@1.1.4", "", { "dependencies": { "lodash": "^4.17.19" }, "peerDependencies": { "request": "^2.34" } }, "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw=="],
|
||||
|
||||
"requires-port": ["requires-port@1.0.0", "", {}, "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="],
|
||||
|
||||
"rimraf": ["rimraf@2.7.1", "", { "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "./bin.js" } }, "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w=="],
|
||||
|
||||
"run-async": ["run-async@3.0.0", "", {}, "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q=="],
|
||||
|
||||
"rxjs": ["rxjs@6.6.7", "", { "dependencies": { "tslib": "^1.9.0" } }, "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ=="],
|
||||
|
||||
"safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],
|
||||
|
||||
"safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
|
||||
|
||||
"saxes": ["saxes@5.0.1", "", { "dependencies": { "xmlchars": "^2.2.0" } }, "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw=="],
|
||||
|
||||
"setimmediate": ["setimmediate@1.0.5", "", {}, "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA=="],
|
||||
|
||||
"signal-exit": ["signal-exit@4.1.0", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],
|
||||
|
||||
"snakecase-keys": ["snakecase-keys@3.2.1", "", { "dependencies": { "map-obj": "^4.1.0", "to-snake-case": "^1.0.0" } }, "sha512-CjU5pyRfwOtaOITYv5C8DzpZ8XA/ieRsDpr93HI2r6e3YInC6moZpSQbmUtg8cTk58tq2x3jcG2gv+p1IZGmMA=="],
|
||||
|
||||
"sshpk": ["sshpk@1.18.0", "", { "dependencies": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", "bcrypt-pbkdf": "^1.0.0", "dashdash": "^1.12.0", "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" }, "bin": { "sshpk-conv": "bin/sshpk-conv", "sshpk-sign": "bin/sshpk-sign", "sshpk-verify": "bin/sshpk-verify" } }, "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ=="],
|
||||
|
||||
"stealthy-require": ["stealthy-require@1.1.1", "", {}, "sha512-ZnWpYnYugiOVEY5GkcuJK1io5V8QmNYChG62gSit9pQVGErXtrKuPC55ITaVSukmMta5qpMU7vqLt2Lnni4f/g=="],
|
||||
|
||||
"string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
|
||||
|
||||
"string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],
|
||||
|
||||
"strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
|
||||
|
||||
"tar-stream": ["tar-stream@2.2.0", "", { "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" } }, "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ=="],
|
||||
|
||||
"tlds": ["tlds@1.258.0", "", { "bin": { "tlds": "bin.js" } }, "sha512-XGhStWuOlBA5D8QnyN2xtgB2cUOdJ3ztisne1DYVWMcVH29qh8eQIpRmP3HnuJLdgyzG0HpdGzRMu1lm/Oictw=="],
|
||||
|
||||
"tmp": ["tmp@0.2.3", "", {}, "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w=="],
|
||||
|
||||
"to-no-case": ["to-no-case@1.0.2", "", {}, "sha512-Z3g735FxuZY8rodxV4gH7LxClE4H0hTIyHNIHdk+vpQxjLm0cwnKXq/OFVZ76SOQmto7txVcwSCwkU5kqp+FKg=="],
|
||||
|
||||
"to-snake-case": ["to-snake-case@1.0.0", "", { "dependencies": { "to-space-case": "^1.0.0" } }, "sha512-joRpzBAk1Bhi2eGEYBjukEWHOe/IvclOkiJl3DtA91jV6NwQ3MwXA4FHYeqk8BNp/D8bmi9tcNbRu/SozP0jbQ=="],
|
||||
|
||||
"to-space-case": ["to-space-case@1.0.0", "", { "dependencies": { "to-no-case": "^1.0.0" } }, "sha512-rLdvwXZ39VOn1IxGL3V6ZstoTbwLRckQmn/U8ZDLuWwIXNpuZDhQ3AiRUlhTbOXFVE9C+dR51wM0CBDhk31VcA=="],
|
||||
|
||||
"tough-cookie": ["tough-cookie@4.1.4", "", { "dependencies": { "psl": "^1.1.33", "punycode": "^2.1.1", "universalify": "^0.2.0", "url-parse": "^1.5.3" } }, "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag=="],
|
||||
|
||||
"traverse": ["traverse@0.3.9", "", {}, "sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ=="],
|
||||
|
||||
"ts-custom-error": ["ts-custom-error@3.3.1", "", {}, "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A=="],
|
||||
|
||||
"ts-xor": ["ts-xor@1.3.0", "", {}, "sha512-RLXVjliCzc1gfKQFLRpfeD0rrWmjnSTgj7+RFhoq3KRkUYa8LE/TIidYOzM5h+IdFBDSjjSgk9Lto9sdMfDFEA=="],
|
||||
|
||||
"tslib": ["tslib@1.14.1", "", {}, "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="],
|
||||
|
||||
"tunnel-agent": ["tunnel-agent@0.6.0", "", { "dependencies": { "safe-buffer": "^5.0.1" } }, "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w=="],
|
||||
|
||||
"tweetnacl": ["tweetnacl@0.14.5", "", {}, "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA=="],
|
||||
|
||||
"type-fest": ["type-fest@0.21.3", "", {}, "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="],
|
||||
|
||||
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
||||
|
||||
"undici": ["undici@6.21.2", "", {}, "sha512-uROZWze0R0itiAKVPsYhFov9LxrPMHLMEQFszeI2gCN6bnIIZ8twzBCJcN2LJrBBLfrP0t1FW0g+JmKVl8Vk1g=="],
|
||||
|
||||
"undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
|
||||
|
||||
"universalify": ["universalify@0.2.0", "", {}, "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg=="],
|
||||
|
||||
"unzipper": ["unzipper@0.10.14", "", { "dependencies": { "big-integer": "^1.6.17", "binary": "~0.3.0", "bluebird": "~3.4.1", "buffer-indexof-polyfill": "~1.0.0", "duplexer2": "~0.1.4", "fstream": "^1.0.12", "graceful-fs": "^4.2.2", "listenercount": "~1.0.1", "readable-stream": "~2.3.6", "setimmediate": "~1.0.4" } }, "sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g=="],
|
||||
|
||||
"uri-js": ["uri-js@4.4.1", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="],
|
||||
|
||||
"url-parse": ["url-parse@1.5.10", "", { "dependencies": { "querystringify": "^2.1.1", "requires-port": "^1.0.0" } }, "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ=="],
|
||||
|
||||
"url-regex-safe": ["url-regex-safe@3.0.0", "", { "dependencies": { "ip-regex": "4.3.0", "tlds": "^1.228.0" }, "peerDependencies": { "re2": "^1.17.2" }, "optionalPeers": ["re2"] }, "sha512-+2U40NrcmtWFVjuxXVt9bGRw6c7/MgkGKN9xIfPrT/2RX0LTkkae6CCEDp93xqUN0UKm/rr821QnHd2dHQmN3A=="],
|
||||
|
||||
"util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],
|
||||
|
||||
"utility-types": ["utility-types@3.11.0", "", {}, "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw=="],
|
||||
|
||||
"uuid": ["uuid@8.3.2", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="],
|
||||
|
||||
"verror": ["verror@1.10.0", "", { "dependencies": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" } }, "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw=="],
|
||||
|
||||
"whatwg-encoding": ["whatwg-encoding@3.1.1", "", { "dependencies": { "iconv-lite": "0.6.3" } }, "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ=="],
|
||||
|
||||
"whatwg-mimetype": ["whatwg-mimetype@4.0.0", "", {}, "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg=="],
|
||||
|
||||
"wrap-ansi": ["wrap-ansi@6.2.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA=="],
|
||||
|
||||
"wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
||||
|
||||
"xmlchars": ["xmlchars@2.2.0", "", {}, "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="],
|
||||
|
||||
"yoctocolors-cjs": ["yoctocolors-cjs@2.1.2", "", {}, "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA=="],
|
||||
|
||||
"zip-stream": ["zip-stream@4.1.1", "", { "dependencies": { "archiver-utils": "^3.0.4", "compress-commons": "^4.1.2", "readable-stream": "^3.6.0" } }, "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ=="],
|
||||
|
||||
"@fast-csv/format/@types/node": ["@types/node@14.18.63", "", {}, "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ=="],
|
||||
|
||||
"@fast-csv/parse/@types/node": ["@types/node@14.18.63", "", {}, "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ=="],
|
||||
|
||||
"@types/request/form-data": ["form-data@2.5.3", "", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", "mime-types": "^2.1.35", "safe-buffer": "^5.2.1" } }, "sha512-XHIrMD0NpDrNM/Ckf7XJiBbLl57KEhT3+i3yY+eWm+cqYZJQTZrKo8Y8AWKnuV5GT4scfuUGt9LzNoIx3dU1nQ=="],
|
||||
|
||||
"archiver-utils/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
|
||||
|
||||
"duplexer2/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
|
||||
|
||||
"external-editor/iconv-lite": ["iconv-lite@0.4.24", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3" } }, "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA=="],
|
||||
|
||||
"external-editor/tmp": ["tmp@0.0.33", "", { "dependencies": { "os-tmpdir": "~1.0.2" } }, "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw=="],
|
||||
|
||||
"glob/minimatch": ["minimatch@3.1.2", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="],
|
||||
|
||||
"inquirer/rxjs": ["rxjs@7.8.2", "", { "dependencies": { "tslib": "^2.1.0" } }, "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA=="],
|
||||
|
||||
"jszip/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
|
||||
|
||||
"lazystream/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
|
||||
|
||||
"parse5/entities": ["entities@6.0.0", "", {}, "sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw=="],
|
||||
|
||||
"request/tough-cookie": ["tough-cookie@2.5.0", "", { "dependencies": { "psl": "^1.1.28", "punycode": "^2.1.1" } }, "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g=="],
|
||||
|
||||
"request/uuid": ["uuid@3.4.0", "", { "bin": { "uuid": "./bin/uuid" } }, "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="],
|
||||
|
||||
"request-promise/tough-cookie": ["tough-cookie@2.5.0", "", { "dependencies": { "psl": "^1.1.28", "punycode": "^2.1.1" } }, "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g=="],
|
||||
|
||||
"unzipper/bluebird": ["bluebird@3.4.7", "", {}, "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA=="],
|
||||
|
||||
"unzipper/readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
|
||||
|
||||
"zip-stream/archiver-utils": ["archiver-utils@3.0.4", "", { "dependencies": { "glob": "^7.2.3", "graceful-fs": "^4.2.0", "lazystream": "^1.0.0", "lodash.defaults": "^4.2.0", "lodash.difference": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.isplainobject": "^4.0.6", "lodash.union": "^4.6.0", "normalize-path": "^3.0.0", "readable-stream": "^3.6.0" } }, "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw=="],
|
||||
|
||||
"archiver-utils/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
||||
|
||||
"archiver-utils/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
|
||||
|
||||
"duplexer2/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
||||
|
||||
"duplexer2/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
|
||||
|
||||
"glob/minimatch/brace-expansion": ["brace-expansion@1.1.11", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="],
|
||||
|
||||
"inquirer/rxjs/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
|
||||
|
||||
"jszip/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
||||
|
||||
"jszip/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
|
||||
|
||||
"lazystream/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
||||
|
||||
"lazystream/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
|
||||
|
||||
"unzipper/readable-stream/safe-buffer": ["safe-buffer@5.1.2", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
|
||||
|
||||
"unzipper/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"ROOT": "/code/app/",
|
||||
"INSTAGRAM_ID": "today.isangjeong",
|
||||
"INSTAGRAM_PASSWORD": "",
|
||||
"KEY": "",
|
||||
"WEBHOOK_URL": ""
|
||||
}
|
||||
189
app/currentUser.json
Normal file
189
app/currentUser.json
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
{
|
||||
"primary_profile_link_type": 3,
|
||||
"show_fb_link_on_profile": false,
|
||||
"show_fb_page_link_on_profile": false,
|
||||
"can_hide_category": true,
|
||||
"account_type": 3,
|
||||
"ads_page_id": null,
|
||||
"ads_page_name": null,
|
||||
"can_add_fb_group_link_on_profile": false,
|
||||
"last_seen_timezone": "Asia/Seoul",
|
||||
"account_category": "",
|
||||
"allowed_commenter_type": "any",
|
||||
"fbid_v2": "17841465790985828",
|
||||
"full_name": "오늘 인천 상정중학교",
|
||||
"has_gen_ai_personas_for_profile_banner": false,
|
||||
"is_muted_words_spamscam_enabled": false,
|
||||
"text_app_should_see_autoimported_ig_profile_picture_dialog": false,
|
||||
"is_private": false,
|
||||
"has_nme_badge": false,
|
||||
"pk": 65966625032,
|
||||
"pk_id": "65966625032",
|
||||
"reel_auto_archive": "on",
|
||||
"strong_id__": "65966625032",
|
||||
"id": "65966625032",
|
||||
"biography": "🤖 by @imnya.ng | not isangjeong\n⌛ 22:00 ~ 22:10\n🚫 인천상정중학교 학생자치부와 관련없습니다",
|
||||
"biography_with_entities": {
|
||||
"raw_text": "🤖 by @imnya.ng | not isangjeong\n⌛ 22:00 ~ 22:10\n🚫 인천상정중학교 학생자치부와 관련없습니다",
|
||||
"entities": [
|
||||
{
|
||||
"user": {
|
||||
"id": 56361473904,
|
||||
"username": "imnya.ng"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"can_link_entities_in_bio": true,
|
||||
"external_url": "",
|
||||
"has_biography_translation": true,
|
||||
"can_hide_public_contacts": true,
|
||||
"category": "Community",
|
||||
"should_show_category": true,
|
||||
"category_id": 2612,
|
||||
"is_category_tappable": true,
|
||||
"should_show_public_contacts": false,
|
||||
"is_eligible_for_smb_support_flow": true,
|
||||
"is_eligible_for_lead_center": false,
|
||||
"lead_details_app_id": "com.bloks.www.ig.smb.services.lead_gen.all_leads",
|
||||
"smb_get_quote_partner": {
|
||||
"partner_name": "Untitled form 09/29/24, 11:42 PM",
|
||||
"app_id": "1991420644629190",
|
||||
"url": "",
|
||||
"partner_type": "FIRST_PARTY",
|
||||
"display_category_name": "Learn more",
|
||||
"category_type": "get_quote",
|
||||
"button_label": "learn_more"
|
||||
},
|
||||
"is_business": false,
|
||||
"professional_conversion_suggested_account_type": 2,
|
||||
"direct_messaging": "",
|
||||
"can_claim_page": false,
|
||||
"can_crosspost_without_fb_token": false,
|
||||
"instagram_location_id": "",
|
||||
"address_street": "",
|
||||
"business_contact_method": "UNKNOWN",
|
||||
"city_id": 0,
|
||||
"city_name": "",
|
||||
"contact_phone_number": "",
|
||||
"is_profile_audio_call_enabled": false,
|
||||
"public_email": "support+ti@al-1s.kr",
|
||||
"public_phone_country_code": "",
|
||||
"public_phone_number": "",
|
||||
"zip": "",
|
||||
"displayed_action_button_partner": null,
|
||||
"smb_delivery_partner": null,
|
||||
"smb_support_delivery_partner": null,
|
||||
"displayed_action_button_type": "",
|
||||
"smb_support_partner": null,
|
||||
"is_call_to_action_enabled": false,
|
||||
"num_of_admined_pages": null,
|
||||
"page_id": null,
|
||||
"page_name": null,
|
||||
"bio_links": [],
|
||||
"is_quiet_mode_enabled": false,
|
||||
"quiet_mode_windows": [
|
||||
{
|
||||
"days": [
|
||||
"SUNDAY",
|
||||
"MONDAY",
|
||||
"TUESDAY",
|
||||
"WEDNESDAY",
|
||||
"THURSDAY"
|
||||
],
|
||||
"end_time": 25200,
|
||||
"label": "sleep",
|
||||
"start_time": 79200
|
||||
}
|
||||
],
|
||||
"account_badges": [],
|
||||
"birthday": "2009-04-20",
|
||||
"birthday_today_visibility_for_viewer": "NOT_VISIBLE",
|
||||
"custom_gender": "",
|
||||
"enable_add_school_in_edit_profile": false,
|
||||
"email": "instagram.today.isangjeong@imnya.ng",
|
||||
"gender": 3,
|
||||
"has_anonymous_profile_picture": false,
|
||||
"has_external_url_edit_fl": false,
|
||||
"hd_profile_pic_url_info": {
|
||||
"height": 1080,
|
||||
"url": "https://scontent-nrt1-1.cdninstagram.com/v/t51.2885-19/462390069_2083227972114861_8072524302429524014_n.jpg?_nc_ht=scontent-nrt1-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2QGndfMB5VxceQDczZ48abrOsYUpyoauZBxpYdDHiu94BPEmZyNg_ThGUDfJKtfbfJc&_nc_ohc=SeKre2L25XQQ7kNvwEQAtsu&_nc_gid=vqG22rWnFIKBRCQQ7kOxHg&edm=AJlpnE4BAAAA&ccb=7-5&oh=00_AfJYreCIIUPhmOrDLJsx2NmveHAAxVtedzVIv4QNg3L64w&oe=68238EBF&_nc_sid=125e1d",
|
||||
"width": 1080
|
||||
},
|
||||
"hd_profile_pic_versions": [
|
||||
{
|
||||
"height": 320,
|
||||
"url": "https://scontent-nrt1-1.cdninstagram.com/v/t51.2885-19/462390069_2083227972114861_8072524302429524014_n.jpg?stp=dst-jpg_s320x320_tt6&_nc_ht=scontent-nrt1-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2QGndfMB5VxceQDczZ48abrOsYUpyoauZBxpYdDHiu94BPEmZyNg_ThGUDfJKtfbfJc&_nc_ohc=SeKre2L25XQQ7kNvwEQAtsu&_nc_gid=vqG22rWnFIKBRCQQ7kOxHg&edm=AJlpnE4BAAAA&ccb=7-5&oh=00_AfLmhCzZwqvQtTou4qDSqVcGpiPTbMT-jIQU_iNJpVHDMg&oe=68238EBF&_nc_sid=125e1d",
|
||||
"width": 320
|
||||
},
|
||||
{
|
||||
"height": 640,
|
||||
"url": "https://scontent-nrt1-1.cdninstagram.com/v/t51.2885-19/462390069_2083227972114861_8072524302429524014_n.jpg?stp=dst-jpg_s640x640_tt6&_nc_ht=scontent-nrt1-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2QGndfMB5VxceQDczZ48abrOsYUpyoauZBxpYdDHiu94BPEmZyNg_ThGUDfJKtfbfJc&_nc_ohc=SeKre2L25XQQ7kNvwEQAtsu&_nc_gid=vqG22rWnFIKBRCQQ7kOxHg&edm=AJlpnE4BAAAA&ccb=7-5&oh=00_AfL_-cuoU17O_X2h2qbiutdATl-85J86p7hmmhPu_egy1w&oe=68238EBF&_nc_sid=125e1d",
|
||||
"width": 640
|
||||
}
|
||||
],
|
||||
"interop_messaging_user_fbid": "17848239606193033",
|
||||
"is_hide_more_comment_enabled": true,
|
||||
"is_muted_words_custom_enabled": false,
|
||||
"is_muted_words_global_enabled": true,
|
||||
"is_mv4b_biz_asset_profile_locked": false,
|
||||
"has_legacy_bb_pending_profile_picture_update": false,
|
||||
"has_mv4b_pending_profile_picture_update": false,
|
||||
"is_legacy_verified_max_profile_pic_edit_reached": false,
|
||||
"is_mv4b_max_profile_edit_reached": false,
|
||||
"is_mv4b_application_matured_for_profile_edit": true,
|
||||
"is_showing_birthday_selfie": false,
|
||||
"is_supervision_features_enabled": true,
|
||||
"is_verified": false,
|
||||
"is_user_eligible_for_threads_edit_profile_ep": false,
|
||||
"has_active_mv4b_application": false,
|
||||
"phone_number": "",
|
||||
"profile_pic_id": "3473672767357384776_65966625032",
|
||||
"profile_pic_url": "https://scontent-nrt1-1.cdninstagram.com/v/t51.2885-19/462390069_2083227972114861_8072524302429524014_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_ht=scontent-nrt1-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2QGndfMB5VxceQDczZ48abrOsYUpyoauZBxpYdDHiu94BPEmZyNg_ThGUDfJKtfbfJc&_nc_ohc=SeKre2L25XQQ7kNvwEQAtsu&_nc_gid=vqG22rWnFIKBRCQQ7kOxHg&edm=AJlpnE4BAAAA&ccb=7-5&oh=00_AfI1CMQ99v8W4u3DkVlcsJ8_HljGlfFuCTm9rUVgwKx1ow&oe=68238EBF&_nc_sid=125e1d",
|
||||
"profile_edit_params": {
|
||||
"full_name": {
|
||||
"confirmation_dialog_text": "Because your account is verified, your name change may need to be reviewed. If so, you'll be notified when we've reviewed it. If not, your name will change immediately.",
|
||||
"disclaimer_text": "",
|
||||
"is_pending_review": false,
|
||||
"should_show_confirmation_dialog": false
|
||||
},
|
||||
"username": {
|
||||
"confirmation_dialog_text": "Because your account reaches a lot of people, your username change may need to be reviewed. If so, you'll be notified when we've reviewed it. If not, your username will change immediately.",
|
||||
"disclaimer_text": "",
|
||||
"is_pending_review": false,
|
||||
"should_show_confirmation_dialog": false
|
||||
}
|
||||
},
|
||||
"pronouns": [],
|
||||
"show_conversion_edit_entry": true,
|
||||
"show_schools_badge": null,
|
||||
"show_teen_education_banner": false,
|
||||
"supervision_info": {
|
||||
"auto_approval_enabled": false,
|
||||
"daily_time_limit_without_extensions_seconds": 3600,
|
||||
"fc_url": "https://familycenter.instagram.com/dashboard/",
|
||||
"has_guardian": true,
|
||||
"has_stated_age": true,
|
||||
"is_blocked_list_enabled": true,
|
||||
"is_daily_limit_non_blocking": false,
|
||||
"is_eligible_for_supervision": true,
|
||||
"is_guardian_of_viewer": false,
|
||||
"is_guardian_user": false,
|
||||
"is_modify_privacy_settings_enabled": false,
|
||||
"is_quiet_time_feature_enabled": true,
|
||||
"is_quiet_time_non_blocking": false,
|
||||
"is_supervised_by_viewer": false,
|
||||
"is_supervised_in_general_supervision_or_in_cooldown": true,
|
||||
"is_supervised_or_in_cooldown": true,
|
||||
"is_supervised_user": true,
|
||||
"screen_time_daily_limit_description": "Set by furry.netw.",
|
||||
"screen_time_daily_limit_seconds": 3600,
|
||||
"latest_valid_time_limit_extension_request": null,
|
||||
"quiet_time_intervals": [],
|
||||
"feature_controls": null
|
||||
},
|
||||
"trusted_username": "today.isangjeong",
|
||||
"trust_days": 14,
|
||||
"username": "today.isangjeong",
|
||||
"text_app_cover_photo_url": null
|
||||
}
|
||||
103
app/index.ts
Normal file
103
app/index.ts
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
import { Discord } from "./lib/discord";
|
||||
import { CreateImage } from "./lib/image";
|
||||
import { Login, Upload } from "./lib/instagram";
|
||||
|
||||
console.time("🎉 | Done");
|
||||
|
||||
async function main() {
|
||||
console.time("🔓 | Instagram login");
|
||||
|
||||
try {
|
||||
const data = await Login();
|
||||
console.log("✨ | Instagram login successful");
|
||||
if (data) {
|
||||
console.log(`🤔 | Login as ${data.currentUser.full_name}`);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("❌ | Instagram login failed:", error);
|
||||
} finally {
|
||||
console.timeEnd("🔓 | Instagram login");
|
||||
}
|
||||
|
||||
let YYMMDD = "";
|
||||
|
||||
// 실행할 때 --today 옵션을 주면 오늘 날짜로 바뀜
|
||||
const args = process.argv.slice(2);
|
||||
if (args.includes("--today")) {
|
||||
console.log("📅 | --today option detected, using today's date");
|
||||
YYMMDD = new Date().toISOString().slice(0, 10).replace(/-/g, "").toString();
|
||||
console.log("📅 | Using today's date:", YYMMDD);
|
||||
}
|
||||
// Tomorrow is 1st of the month
|
||||
const tomorrow = new Date();
|
||||
tomorrow.setDate(tomorrow.getDate() + 1);
|
||||
YYMMDD = tomorrow.toISOString().slice(0, 10).replace(/-/g, "").toString();
|
||||
|
||||
console.log("📅 | date:", YYMMDD);
|
||||
|
||||
console.log(tomorrow.getDate());
|
||||
if (tomorrow.getDate() === 1) {
|
||||
console.log("📅 | Tomorrow is the 1st of the month, fetching schedule...");
|
||||
console.time("📅 | Create Post Schedule");
|
||||
await CreateImage.PostSchedule();
|
||||
console.timeEnd("📅 | Create Post Schedule");
|
||||
|
||||
console.time("📤 | Upload Post Schedule");
|
||||
await Upload.Post(
|
||||
`./temp/schedule-${new Date().getFullYear()}-${
|
||||
new Date().getMonth() + 1
|
||||
}.png`,
|
||||
`#인천상정중학교 #상정중학교 #학사일정 \n${new Date().getFullYear()}년도 ${
|
||||
new Date().getMonth() + 1
|
||||
}월 학사 일정`
|
||||
);
|
||||
}
|
||||
try {
|
||||
console.time("📷 | Create Post Image");
|
||||
const NutritionInfo = await CreateImage.PostMeal(YYMMDD);
|
||||
console.timeEnd("📷 | Create Post Image");
|
||||
|
||||
console.time("📱 | Create Story Image");
|
||||
await CreateImage.ConvertToStory(`./temp/${YYMMDD}.png`);
|
||||
console.timeEnd("📱 | Create Story Image");
|
||||
|
||||
console.time("📤 | Upload Post");
|
||||
|
||||
let NutritionInfoText = ""
|
||||
|
||||
const entries = Object.entries(NutritionInfo ?? {}).filter(([_, value]) => value.toString().length > 0);
|
||||
entries.forEach(([name, value], idx) => {
|
||||
NutritionInfoText += `${name} : ${value.toString().replace(",", ", ")}`;
|
||||
if (idx !== entries.length - 1) {
|
||||
NutritionInfoText += "\n";
|
||||
}
|
||||
});
|
||||
|
||||
await Upload.Post(
|
||||
`./temp/${YYMMDD}.png`,
|
||||
[
|
||||
`🍽️ | ${YYMMDD}일자 급식`,
|
||||
"===========================",
|
||||
"⚠️ 알레르기 유발 가능 성분이 포함되어 있습니다.",
|
||||
NutritionInfoText,
|
||||
"===========================",
|
||||
"#인천상정중학교 #상정중학교 #급식"
|
||||
].join("\n")
|
||||
);
|
||||
console.timeEnd("📤 | Upload Post");
|
||||
|
||||
console.time("📤 | Upload Story");
|
||||
await Upload.Story(`./temp/${YYMMDD}-story.png`, YYMMDD);
|
||||
console.timeEnd("📤 | Upload Story");
|
||||
|
||||
// console.time("🤖 | Discord Webhook");
|
||||
// await Discord(YYMMDD);
|
||||
// console.timeEnd("🤖 | Discord Webhook");
|
||||
} catch (error) {
|
||||
console.error("❌ | Error during image creation or upload:", error);
|
||||
} finally {
|
||||
console.timeEnd("🎉 | Done");
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
39
app/lib/discord.ts
Normal file
39
app/lib/discord.ts
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
import { getMealInfo } from "./meal";
|
||||
|
||||
const WEBHOOK_URL = process.env.DISCORD_WEBHOOK_URL as string;
|
||||
|
||||
export async function Discord(MLSV_YMD: string) {
|
||||
const mealInfo = await getMealInfo(MLSV_YMD);
|
||||
//const isVTS = vts.VTS임(MLSV_YMD);
|
||||
|
||||
const data = {
|
||||
// To include VTS info, uncomment and define isVTS:
|
||||
// content: `${MLSV_YMD.slice(0, 4)}년 ${MLSV_YMD.slice(4, 6)}월 ${MLSV_YMD.slice(6, 8)}일 급식 정보${isVTS ? " | with V.T.S." : ""}`,
|
||||
content: `${MLSV_YMD.slice(0, 4)}년 ${MLSV_YMD.slice(
|
||||
4,
|
||||
6
|
||||
)}월 ${MLSV_YMD.slice(6, 8)}일 급식 정보`,
|
||||
username: "@today.isangjeong",
|
||||
embeds: [
|
||||
{
|
||||
title: "🏫 | 인천상정중학교",
|
||||
description: `🔥 ${mealInfo.kcal}\n\n${mealInfo.meal}`,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
console.log("🏓 | Sending Payload");
|
||||
const response = await fetch(WEBHOOK_URL, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
console.error("Error sending Discord webhook:", response.statusText);
|
||||
} else {
|
||||
console.log(`✨ | Payload successfully, code ${response.status}`);
|
||||
}
|
||||
}
|
||||
192
app/lib/image.ts
Normal file
192
app/lib/image.ts
Normal file
|
|
@ -0,0 +1,192 @@
|
|||
import path from "path";
|
||||
import { join } from "path";
|
||||
import { mkdirSync, existsSync } from "fs";
|
||||
import { createCanvas, loadImage, GlobalFonts } from "@napi-rs/canvas";
|
||||
import { getMealInfo, getNutritionInfo, NameToEmoji, removeNutritionInfo } from "./meal"; // 이 함수의 내용은 제공되지 않았으므로 그대로 둡니다.
|
||||
import { getAllSchedules } from "./schedule";
|
||||
import { isVTS } from "./vts";
|
||||
|
||||
GlobalFonts.registerFromPath('./template/Pretendard-Bold.ttf', 'Pretendard Bold')
|
||||
GlobalFonts.registerFromPath('./template/NotoColorEmoji-Regular.ttf', 'NotoColorEmoji Regular')
|
||||
|
||||
export class CreateImage {
|
||||
static async PostMeal(MLSV_YMD: string): Promise<{ [key: string]: any } | undefined> {
|
||||
const mealInfo = await getMealInfo(MLSV_YMD);
|
||||
const img = await loadImage(path.join("./template/skeleton.png"));
|
||||
const canvas = createCanvas(img.width, img.height);
|
||||
const ctx = canvas.getContext("2d");
|
||||
ctx.drawImage(img, 0, 0);
|
||||
|
||||
ctx.font = "56px Pretendard Bold";
|
||||
ctx.fillStyle = "white";
|
||||
ctx.textAlign = "left";
|
||||
|
||||
const lines = removeNutritionInfo(mealInfo.meal).split("\n").reverse();
|
||||
let emojis = (await NameToEmoji(lines.toString())).split(",");
|
||||
|
||||
if (lines.length !== emojis.length) {
|
||||
console.error("Error: Emojis and lines count mismatch retrying...");
|
||||
return this.PostMeal(MLSV_YMD);
|
||||
}
|
||||
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
const emoji = emojis[i];
|
||||
const text = lines[i];
|
||||
|
||||
ctx.font = "50px NotoColorEmoji Regular";
|
||||
ctx.fillText([...emoji][0] ?? "", 75, 930 - i * 60);
|
||||
|
||||
ctx.font = "56px Pretendard Bold";
|
||||
ctx.fillText(text ?? "", 75 + 80, 930 - i * 60);
|
||||
}
|
||||
|
||||
ctx.font = "24px Pretendard Bold";
|
||||
ctx.textAlign = "right";
|
||||
ctx.fillText(
|
||||
`${MLSV_YMD.slice(0, 4)}년 ${MLSV_YMD.slice(4, 6)}월 ${MLSV_YMD.slice(
|
||||
6,
|
||||
8
|
||||
)}일`,
|
||||
945,
|
||||
110
|
||||
);
|
||||
ctx.fillStyle = "#89CAFF";
|
||||
ctx.fillText(mealInfo.kcal, 945, 220);
|
||||
|
||||
if (await isVTS(MLSV_YMD)) {
|
||||
ctx.fillStyle = "#CDAD94";
|
||||
ctx.fillText("with V.T.S.", 952.5, 245);
|
||||
} // VTS 관련 코드 주석 처리
|
||||
|
||||
const outPath = path.join("./temp", `${MLSV_YMD}.png`); // 경로 수정: "./temp/" -> "./temp"
|
||||
|
||||
// temp 폴더가 없으면 생성
|
||||
if (!existsSync("./temp")) {
|
||||
mkdirSync("./temp", { recursive: true });
|
||||
}
|
||||
|
||||
const buffer = canvas.toBuffer("image/png");
|
||||
|
||||
try {
|
||||
await Bun.write(outPath, buffer);
|
||||
console.log("🍲 | Meal Info Image Saved");
|
||||
} catch (error) {
|
||||
console.error("Error saving meal info image:", error);
|
||||
} finally {
|
||||
const meals = removeNutritionInfo(mealInfo.meal).split("\n");
|
||||
const nutritionInfo = getNutritionInfo(mealInfo.meal);
|
||||
const retrunValue: { [key: string]: any } = {};
|
||||
for (let i = 0; i < meals.length; i++) {
|
||||
const meal = (meals[i] ?? "").trim();
|
||||
retrunValue[meal] = nutritionInfo[i] || [];
|
||||
}
|
||||
|
||||
return retrunValue;
|
||||
}
|
||||
}
|
||||
|
||||
static async PostSchedule() {
|
||||
const today = new Date();
|
||||
const year = today.getFullYear();
|
||||
const month = (today.getMonth() + 1).toString().padStart(2, "0");
|
||||
|
||||
// 일정 데이터 불러오기
|
||||
const allSchedules = await getAllSchedules();
|
||||
const events = allSchedules[month] || [];
|
||||
|
||||
// 이미지 로드
|
||||
const image = await loadImage(join("./template/skeleton_schoolevent.png"));
|
||||
const canvas = createCanvas(image.width, image.height);
|
||||
const ctx = canvas.getContext("2d");
|
||||
|
||||
// 배경 그리기
|
||||
ctx.drawImage(image, 0, 0);
|
||||
|
||||
// 폰트 설정
|
||||
const eventFont = "48px Pretendard Bold";
|
||||
const detailFont = "24px Pretendard Bold";
|
||||
ctx.font = eventFont;
|
||||
ctx.fillStyle = "white";
|
||||
ctx.textAlign = "left";
|
||||
|
||||
// 행사 내용 그리기
|
||||
let yPosition = 930;
|
||||
for (const event of events.slice().reverse()) {
|
||||
ctx.fillText(`${event.date} : ${event.desc}`, 75, yPosition);
|
||||
yPosition -= 60;
|
||||
}
|
||||
|
||||
// 상단 월 정보
|
||||
ctx.font = detailFont;
|
||||
ctx.textAlign = "right";
|
||||
ctx.fillText(`${year}년 ${parseInt(month)}월`, 945, 110);
|
||||
|
||||
// 파일 저장
|
||||
const outputFilePath = join("./", `temp/schedule-${year}-${month}.png`);
|
||||
|
||||
// temp 폴더가 없으면 생성
|
||||
if (!existsSync("./temp")) {
|
||||
mkdirSync("./temp", { recursive: true });
|
||||
}
|
||||
|
||||
const buffer = canvas.toBuffer("image/png");
|
||||
require("fs").writeFileSync(outputFilePath, buffer);
|
||||
console.log("📅 | School Event Image Saved");
|
||||
|
||||
return outputFilePath;
|
||||
}
|
||||
|
||||
static async ConvertToStory(filePath: string) {
|
||||
const inPath = path.join("./",`${filePath}`);
|
||||
let img;
|
||||
try {
|
||||
img = await loadImage(inPath);
|
||||
} catch (error) {
|
||||
console.error(`Error loading image for story: ${inPath}`, error);
|
||||
// Post 메서드가 먼저 호출되어 이미지가 생성되었는지 확인 필요
|
||||
// 또는 에러 처리를 통해 사용자에게 알림
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const width = img.width;
|
||||
const height = img.height;
|
||||
const aspectRatio = 9 / 16;
|
||||
const currentRatio = width / height;
|
||||
|
||||
let newWidth = width;
|
||||
let newHeight = height;
|
||||
|
||||
if (currentRatio < aspectRatio) {
|
||||
newWidth = Math.floor(height * aspectRatio);
|
||||
} else {
|
||||
newHeight = Math.floor(width / aspectRatio);
|
||||
}
|
||||
|
||||
const canvas = createCanvas(newWidth, newHeight);
|
||||
const ctx = canvas.getContext("2d");
|
||||
ctx.fillStyle = "#0A0A0A"; // 배경색
|
||||
ctx.fillRect(0, 0, newWidth, newHeight);
|
||||
|
||||
// 원본 이미지를 새 캔버스 중앙에 맞추어 약간 작게(85%) 그립니다.
|
||||
const resizedWidth = Math.floor(width * 0.85);
|
||||
const resizedHeight = Math.floor(height * 0.85);
|
||||
|
||||
const offsetX = Math.floor((newWidth - resizedWidth) / 2);
|
||||
const offsetY = Math.floor((newHeight - resizedHeight) / 2);
|
||||
|
||||
ctx.drawImage(img, offsetX, offsetY, resizedWidth, resizedHeight);
|
||||
|
||||
const extIndex = filePath.lastIndexOf(".");
|
||||
const baseName = extIndex !== -1 ? filePath.substring(0, extIndex) : filePath;
|
||||
const outPath = path.join("./", `${baseName}-story.png`);
|
||||
const buffer = canvas.toBuffer("image/png");
|
||||
|
||||
try {
|
||||
await Bun.write(outPath, buffer);
|
||||
console.log("🔄️ | Story Convert Success");
|
||||
} catch (error) {
|
||||
console.error("Error saving story info image:", error);
|
||||
}
|
||||
}
|
||||
}
|
||||
86
app/lib/instagram.ts
Normal file
86
app/lib/instagram.ts
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
import path from 'path';
|
||||
import { IgApiClient } from "igramapi";
|
||||
|
||||
const ig = new IgApiClient();
|
||||
|
||||
export async function Login() {
|
||||
ig.state.generateDevice(process.env.IG_USERNAME!);
|
||||
ig.state.appUserAgent
|
||||
|
||||
ig.request.end$.subscribe(async () => {
|
||||
const serialized = await ig.state.serialize();
|
||||
delete serialized.constants; // this deletes the version info, so you'll always use the version provided by the library
|
||||
await Bun.write('./temp/session.json', JSON.stringify(serialized));
|
||||
});
|
||||
try {
|
||||
let loggedInUser;
|
||||
try {
|
||||
|
||||
if (await Bun.file('./temp/session.json').exists()) {
|
||||
const sessionData = await Bun.file('./temp/session.json').json();
|
||||
await ig.state.deserialize(sessionData);
|
||||
loggedInUser = await ig.account.login(
|
||||
process.env.IG_USERNAME!,
|
||||
process.env.IG_PASSWORD!
|
||||
);
|
||||
} else {
|
||||
loggedInUser = await ig.account.login(
|
||||
process.env.IG_USERNAME!,
|
||||
process.env.IG_PASSWORD!
|
||||
);
|
||||
await ig.simulate.preLoginFlow();
|
||||
|
||||
process.nextTick(async () => await ig.simulate.postLoginFlow());
|
||||
}
|
||||
} catch (error: any) {
|
||||
if (error.name === "IgCheckpointError") {
|
||||
console.error(
|
||||
"Instagram checkpoint required. Please verify your account in the Instagram app or handle the challenge."
|
||||
);
|
||||
// Optionally, you can trigger challenge handling here
|
||||
// await ig.challenge.auto(true); // Requesting sms-code or click "It was me" button
|
||||
} else {
|
||||
console.error("🔒 | Login failed:", error);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
|
||||
const currentUser = await ig.account.currentUser();
|
||||
return { loggedInUser, currentUser };
|
||||
} catch (error) {
|
||||
console.warn("⚠️ | Failed to load session data:", error);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export class Upload {
|
||||
static async Post(filePath: string, caption: string) {
|
||||
try {
|
||||
const ImagePath = path.resolve(`${filePath}`);
|
||||
const bunFile = Bun.file(ImagePath);
|
||||
const ImageBuffer = Buffer.from(await bunFile.arrayBuffer());
|
||||
|
||||
await ig.publish.photo({
|
||||
file: ImageBuffer,
|
||||
caption: caption,
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Error uploading post:", error);
|
||||
}
|
||||
}
|
||||
|
||||
static async Story(filePath: string, MLSV_YMD: string) {
|
||||
try {
|
||||
const ImagePath = path.resolve(`${filePath}`);
|
||||
const bunFile = Bun.file(ImagePath);
|
||||
const ImageBuffer = Buffer.from(await bunFile.arrayBuffer());
|
||||
|
||||
await ig.publish.story({
|
||||
file: ImageBuffer,
|
||||
caption: `#인천상정중학교 #상정중학교 #급식 \n${MLSV_YMD}일자 급식`,
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Error uploading post:", error);
|
||||
}
|
||||
}
|
||||
}
|
||||
126
app/lib/meal.ts
Normal file
126
app/lib/meal.ts
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
import { GoogleGenerativeAI } from "@google/generative-ai";
|
||||
|
||||
const KEY = process.env.NEIS_API_KEY;
|
||||
|
||||
export function removeNutritionInfo(value: string): string {
|
||||
const lines = value.trim().split('\n');
|
||||
const cleanedLines = lines.map(line => line.replace(/\s*\([\d.,]+\)/g, '').trim());
|
||||
const result = cleanedLines.join('\n');
|
||||
return result;
|
||||
}
|
||||
|
||||
const nutritionList = [
|
||||
"난류", "우유", "메밀", "땅콩", "대두", "밀", "고등어", "게", "새우", "돼지고기",
|
||||
"복숭아", "토마토", "아황산류", "호두", "닭고기", "쇠고기", "오징어", "조개류(굴, 전복, 홍합 포함)", "잣"
|
||||
];
|
||||
|
||||
export function getNutritionInfo(value: string): string[][] {
|
||||
const lines = value.trim().split('\n');
|
||||
return lines.map(line => {
|
||||
const indexes = line
|
||||
.replace(/[()\s]/g, "")
|
||||
.split(".")
|
||||
.map(v => parseInt(v, 10) - 1)
|
||||
.filter(i => i >= 0 && i < nutritionList.length);
|
||||
return indexes
|
||||
.map(i => nutritionList[i])
|
||||
.filter((item): item is string => typeof item === "string");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export async function getMealInfo(MLSV_YMD: string): Promise<{ meal: string; date: string, kcal: string }> {
|
||||
const url = `https://open.neis.go.kr/hub/mealServiceDietInfo?Type=json&ATPT_OFCDC_SC_CODE=E10&SD_SCHUL_CODE=7331071&MLSV_YMD=${MLSV_YMD}&KEY=${KEY}`;
|
||||
const response = await fetch(url);
|
||||
const data = await response.json();
|
||||
// @ts-ignore
|
||||
const DDISH_NM = data.mealServiceDietInfo[1].row[0].DDISH_NM;
|
||||
return {
|
||||
meal: DDISH_NM.replace(/<br\s*\/?>/gi, '\n'),
|
||||
date: MLSV_YMD,
|
||||
// @ts-ignore
|
||||
|
||||
kcal: data.mealServiceDietInfo[1].row[0].CAL_INFO,
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
export async function NameToEmoji(name: string): Promise<string | undefined> {
|
||||
const apiKey = process.env.GOOGLE_API_KEY;
|
||||
if (!apiKey) {
|
||||
throw new Error("GOOGLE_API_KEY environment variable is not set.");
|
||||
}
|
||||
|
||||
const genAI = new GoogleGenerativeAI(apiKey);
|
||||
const model = genAI.getGenerativeModel({ model: "gemini-3.1-flash-lite-preview" });
|
||||
|
||||
const systemPrompt = `⚠️ 중요한 지침: 당신은 오직 이모지로만 응답하는 AI입니다. 다음 규칙을 예외 없이 철저히 준수해야 합니다. ⚠️
|
||||
|
||||
1. 핵심 임무:
|
||||
|
||||
어떤 단어나 문구든, 해당 항목에 대해 가장 정확하게 일치하는 단 하나의 이모지로 응답해야 합니다. 🎯
|
||||
|
||||
여러 개의 이모지를 혼합하거나, 텍스트와 함께 사용하는 것은 절대 금지입니다. 🚫
|
||||
|
||||
2. 다중 항목 처리:
|
||||
|
||||
쉼표(,)로 구분된 여러 항목(단어 또는 문구)이 입력되면, 응답도 정확히 같은 순서로 각 항목에 해당하는 이모지를 쉼표(,)로 구분하여 제시해야 합니다. 🔢
|
||||
|
||||
입력된 항목의 개수와 출력되는 이모지의 개수는 반드시 일치해야 합니다. ✅
|
||||
|
||||
3. 절대 금지 (매우 중요):
|
||||
|
||||
단일 항목에 두 개 이상의 이모지를 사용해서는 안 됩니다. (오직 한 개!) 1️⃣
|
||||
|
||||
응답에 어떤 종류의 텍스트(단어, 글자, 숫자, 설명, 주석 등)도 포함해서는 안 됩니다. 📝❌
|
||||
|
||||
요청된 형식의 이모지만 허용됩니다. 💯
|
||||
|
||||
4. 응답 형식:
|
||||
|
||||
[이모지1], [이모지2], [이모지3]... (이모지의 수는 입력된 항목의 수와 같아야 함) 🔄
|
||||
|
||||
🌟 예시 (이 규칙들을 완벽하게 준수):
|
||||
|
||||
Q: 현미찹쌀밥, 개, 축구
|
||||
|
||||
A: 🍚,🐶,⚽
|
||||
|
||||
Q: 행복, 슬픔, 놀람
|
||||
|
||||
A: 😊,😢,😮
|
||||
|
||||
Q: 안녕하세요, 반갑습니다 ✨
|
||||
|
||||
A: 👋,🤝
|
||||
|
||||
Q: 사랑, 평화, 자유
|
||||
|
||||
A: 🥰,☮️,🗽
|
||||
|
||||
`;
|
||||
|
||||
const response = await model.generateContent({
|
||||
contents: [
|
||||
{ role: "user", parts: [{ text: systemPrompt + "\n\nUser input: " + name }] }
|
||||
],
|
||||
generationConfig: {
|
||||
temperature: 1.0,
|
||||
topP: 1.0,
|
||||
candidateCount: 1,
|
||||
},
|
||||
});
|
||||
|
||||
const result = response.response;
|
||||
if (!result.candidates || !result.candidates[0]) {
|
||||
throw new Error("No valid response from the model.");
|
||||
}
|
||||
|
||||
const textContent = result.candidates[0].content.parts[0];
|
||||
if (!textContent) {
|
||||
throw new Error("Invalid response format from the model.");
|
||||
}
|
||||
|
||||
return textContent.text;
|
||||
}
|
||||
|
||||
110
app/lib/schedule.ts
Normal file
110
app/lib/schedule.ts
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
import { writeFileSync, existsSync, readFileSync, mkdirSync } from "fs";
|
||||
import * as cheerio from "cheerio";
|
||||
|
||||
const CACHE_FILE = "./temp/scheduleCache.json";
|
||||
|
||||
const URLS = {
|
||||
section1:
|
||||
"https://isangjeong.icems.kr/schdList.do?section=1&m=021101&s=isangjeong",
|
||||
section2:
|
||||
"https://isangjeong.icems.kr/schdList.do?section=2&m=021101&s=isangjeong",
|
||||
};
|
||||
|
||||
const MONTH_XPATH_MAP: Record<
|
||||
string,
|
||||
{ section: keyof typeof URLS; divIndex: number }
|
||||
> = {
|
||||
"03": { section: "section1", divIndex: 2 },
|
||||
"04": { section: "section1", divIndex: 3 },
|
||||
"05": { section: "section1", divIndex: 4 },
|
||||
"06": { section: "section1", divIndex: 5 },
|
||||
"07": { section: "section1", divIndex: 6 },
|
||||
"08": { section: "section1", divIndex: 7 },
|
||||
"09": { section: "section2", divIndex: 2 },
|
||||
"10": { section: "section2", divIndex: 3 },
|
||||
"11": { section: "section2", divIndex: 4 },
|
||||
"12": { section: "section2", divIndex: 5 },
|
||||
"01": { section: "section2", divIndex: 6 },
|
||||
"02": { section: "section2", divIndex: 7 },
|
||||
};
|
||||
|
||||
async function fetchSectionSchedule(
|
||||
url: string,
|
||||
divIndexes: { month: string; index: number }[]
|
||||
): Promise<Record<string, { date: string; desc: string }[]>> {
|
||||
const res = await fetch(url, {
|
||||
headers: {
|
||||
"User-Agent": "Mozilla/5.0 (compatible; today.isangjeong/1.0)",
|
||||
},
|
||||
});
|
||||
|
||||
const html = await res.text();
|
||||
const $ = cheerio.load(html);
|
||||
|
||||
const sectionSchedule: Record<string, { date: string; desc: string }[]> = {};
|
||||
|
||||
for (const { month, index } of divIndexes) {
|
||||
const selector = `#all-scroll > div > form > div > div:nth-of-type(2) > div:nth-of-type(${index}) > dl > dd > ul`;
|
||||
const items: { date: string; desc: string }[] = [];
|
||||
|
||||
$(selector).find("li").each((_, li) => {
|
||||
const text = $(li).text().trim().replace(/\u00A0/g, " ");
|
||||
if (text) {
|
||||
const [date, desc] = text.split(" : ");
|
||||
if (date && desc) {
|
||||
items.push({ date: date.trim(), desc: desc.trim() });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
sectionSchedule[month] = items;
|
||||
}
|
||||
|
||||
return sectionSchedule;
|
||||
}
|
||||
|
||||
export async function getAllSchedules(
|
||||
refresh = false
|
||||
): Promise<Record<string, { date: string; desc: string }[]>> {
|
||||
if (!refresh && existsSync(CACHE_FILE)) {
|
||||
const cached = readFileSync(CACHE_FILE, "utf-8");
|
||||
return JSON.parse(cached);
|
||||
}
|
||||
|
||||
const sectionMap: Record<keyof typeof URLS, { month: string; index: number }[]> = {
|
||||
section1: [],
|
||||
section2: [],
|
||||
};
|
||||
|
||||
for (const [month, { section, divIndex }] of Object.entries(MONTH_XPATH_MAP)) {
|
||||
sectionMap[section].push({ month, index: divIndex });
|
||||
}
|
||||
|
||||
// 병렬로 section1, section2 요청
|
||||
const promises = (Object.keys(sectionMap) as (keyof typeof URLS)[]).map(
|
||||
async (section) => {
|
||||
const url = URLS[section];
|
||||
try {
|
||||
const sectionSchedule = await fetchSectionSchedule(url, sectionMap[section]);
|
||||
console.log(`✅ ${section} 완료`);
|
||||
return sectionSchedule;
|
||||
} catch (err) {
|
||||
console.error(`❌ ${section} 실패:`, err);
|
||||
return Object.fromEntries(sectionMap[section].map(({ month }) => [month, []]));
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
const results = await Promise.all(promises);
|
||||
|
||||
const schedule = Object.assign({}, ...results);
|
||||
|
||||
// temp 폴더가 없으면 생성
|
||||
if (!existsSync("./temp")) {
|
||||
mkdirSync("./temp", { recursive: true });
|
||||
}
|
||||
|
||||
writeFileSync(CACHE_FILE, JSON.stringify(schedule, null, 2), "utf-8");
|
||||
console.log(`📦 캐시 저장됨 → ${CACHE_FILE}`);
|
||||
return schedule;
|
||||
}
|
||||
93
app/lib/vts.ts
Normal file
93
app/lib/vts.ts
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
import ExcelJS from 'exceljs';
|
||||
|
||||
const filePath = './temp/vts.xlsx';
|
||||
|
||||
export async function VTSList(): Promise<string[]> {
|
||||
const yellowCellValues: string[] = [];
|
||||
const workbook = new ExcelJS.Workbook();
|
||||
|
||||
try {
|
||||
await workbook.xlsx.readFile(filePath);
|
||||
|
||||
// 모든 시트를 순회하거나 특정 시트를 지정할 수 있습니다.
|
||||
// 여기서는 첫 번째 시트를 대상으로 합니다.
|
||||
const worksheet = workbook.worksheets[0]; // 또는 workbook.getWorksheet('Sheet1');
|
||||
|
||||
if (!worksheet) {
|
||||
console.log('시트를 찾을 수 없습니다.');
|
||||
return [];
|
||||
}
|
||||
|
||||
// 1. 시트 내 "V.T.S." 문자열 포함 여부 확인 (전체 셀 순회 - 비효율적일 수 있음)
|
||||
let containsVTS = false;
|
||||
worksheet.eachRow((row) => {
|
||||
row.eachCell((cell) => {
|
||||
if (cell.value && cell.value.toString().includes('V.T.S.')) {
|
||||
containsVTS = true;
|
||||
return; // VTS 찾으면 더 이상 순회 안 함
|
||||
}
|
||||
});
|
||||
if (containsVTS) return;
|
||||
});
|
||||
|
||||
if (!containsVTS) {
|
||||
console.log('시트 내에 "V.T.S." 문자열을 찾을 수 없습니다.');
|
||||
return [];
|
||||
}
|
||||
|
||||
// 2. 5번째 행 가져오기
|
||||
const fifthRow = worksheet.getRow(5); // 행 번호는 1부터 시작
|
||||
|
||||
if (!fifthRow.hasValues) {
|
||||
console.log('5번째 행에 데이터가 없습니다.');
|
||||
return [];
|
||||
}
|
||||
|
||||
// 3. 5번째 행의 각 셀 순회하며 배경색 확인
|
||||
fifthRow.eachCell({ includeEmpty: false }, (cell, colNumber) => {
|
||||
const cellFill = cell.style.fill;
|
||||
|
||||
// 배경색 확인 (exceljs는 ARGB 형태의 hex 값을 사용할 수 있습니다. 예: 'FFFFFFFF00')
|
||||
// #FFFF00 (노란색)에 해당하는 ARGB 값은 FFFF00 입니다 (Alpha는 FF).
|
||||
// 라이브러리 버전에 따라 fill.fgColor.argb 또는 다른 속성일 수 있습니다.
|
||||
if (cellFill && cellFill.type === 'pattern' && cellFill.pattern === 'solid') {
|
||||
const argbColor = cellFill.fgColor?.argb;
|
||||
// console.log(`Cell ${cell.address} color: ${argbColor}`); // 디버깅용
|
||||
|
||||
// FFFF00 (노란색) 또는 ffFFFF00 (대소문자 무시)
|
||||
if (argbColor && argbColor.toUpperCase().endsWith('FFFF00')) {
|
||||
const cellValue = cell.value ? cell.value.toString() : '';
|
||||
|
||||
// 날짜를 변환하는 부분
|
||||
const datePattern = /(\d{2})월 (\d{2})일/; // "04월 10일" 패턴
|
||||
const match = cellValue.match(datePattern);
|
||||
|
||||
if (match) {
|
||||
const month = match[1];
|
||||
const day = match[2];
|
||||
const currentYear = new Date().getFullYear(); // 현재 연도
|
||||
|
||||
// "현재년도0410" 형식으로 변환
|
||||
const formattedDate = `${currentYear}${month}${day}`;
|
||||
yellowCellValues.push(formattedDate);
|
||||
console.log(`노란색 셀 발견: ${cell.address}, 값: ${formattedDate}`);
|
||||
} else {
|
||||
yellowCellValues.push(cellValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return yellowCellValues;
|
||||
|
||||
} catch (error) {
|
||||
console.error('Excel 파일 처리 중 오류 발생:', error);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
export async function isVTS(MLSV_YMD: string): Promise<boolean> {
|
||||
const vtsList = await VTSList();
|
||||
return vtsList.includes(MLSV_YMD);
|
||||
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
#import vts
|
||||
#vts.download(vts.get_board())
|
||||
|
||||
from instagrapi import Client
|
||||
import json, os
|
||||
import time
|
||||
|
||||
with open('./config.json') as json_file:
|
||||
json_data = json.load(json_file)
|
||||
|
||||
ROOT = json_data['ROOT']
|
||||
INSTAGRAM_AUTH = [json_data['INSTAGRAM_ID'], json_data['INSTAGRAM_PASSWORD']]
|
||||
|
||||
cl = Client()
|
||||
cl.login(INSTAGRAM_AUTH[0], INSTAGRAM_AUTH[1])
|
||||
|
||||
json.dump(
|
||||
cl.get_settings(),
|
||||
open(f'{ROOT}temp/cookies.json', 'w')
|
||||
)
|
||||
|
||||
print("🍪 | Account information was successfully retrieved.")
|
||||
print(f"📅 | Job ended at {time.time()}")
|
||||
|
|
@ -1,115 +0,0 @@
|
|||
import re
|
||||
import json
|
||||
|
||||
def 영양정보_삭제(값:str):
|
||||
줄들 = 값.strip().split('\n')
|
||||
청소된_줄 = [re.sub(r'\(.*?\)', '', 줄).strip() for 줄 in 줄들]
|
||||
결과 = '\n'.join(청소된_줄)
|
||||
|
||||
return 결과
|
||||
|
||||
import requests
|
||||
from PIL import Image
|
||||
from PIL import ImageDraw
|
||||
from PIL import ImageFont
|
||||
|
||||
import library.vts as vts
|
||||
import os
|
||||
|
||||
with open('./config.json') as json_file:
|
||||
json_data = json.load(json_file)
|
||||
KEY = json_data['KEY']
|
||||
ROOT = json_data['ROOT']
|
||||
font = f"{ROOT}library/Pretendard-Bold.ttf"
|
||||
WEBHOOK_URL = json_data['WEBHOOK_URL']
|
||||
|
||||
|
||||
# DDISH_NM
|
||||
def 급식_정보_얻기(MLSV_YMD:str):
|
||||
답장 = requests.get(
|
||||
f"https://open.neis.go.kr/hub/mealServiceDietInfo?Type=json&ATPT_OFCDC_SC_CODE=E10&SD_SCHUL_CODE=7331071&MLSV_YMD={MLSV_YMD}&KEY={KEY}"
|
||||
)
|
||||
print(f"https://open.neis.go.kr/hub/mealServiceDietInfo?Type=json&ATPT_OFCDC_SC_CODE=E10&SD_SCHUL_CODE=7331071&MLSV_YMD={MLSV_YMD}&KEY={KEY}")
|
||||
print(답장.json())
|
||||
DDISH_NM = 답장.json()['mealServiceDietInfo'][1]['row'][0]['DDISH_NM']
|
||||
|
||||
return 영양정보_삭제(DDISH_NM.replace("<br/>", "\n"))
|
||||
|
||||
def 급식_칼로리_얻기(MLSV_YMD:str):
|
||||
답장 = requests.get(
|
||||
f"https://open.neis.go.kr/hub/mealServiceDietInfo?Type=json&ATPT_OFCDC_SC_CODE=E10&SD_SCHUL_CODE=7331071&MLSV_YMD={MLSV_YMD}&KEY={KEY}"
|
||||
)
|
||||
return 답장.json()['mealServiceDietInfo'][1]['row'][0]['CAL_INFO']
|
||||
|
||||
|
||||
def 얻기(MLSV_YMD:str):
|
||||
급식 = 급식_정보_얻기(MLSV_YMD)
|
||||
print(f"{ROOT}library/skeleton.png")
|
||||
사진 = Image.open(f"{ROOT}library/skeleton.png")
|
||||
|
||||
#if vts.get_vts_true_or_false() == True: 사진 = Image.open(f'{ROOT}library/skeleton-vts.png')
|
||||
|
||||
급식_폰트 = ImageFont.truetype(font, 56)
|
||||
세부_폰트 = ImageFont.truetype(font, 24)
|
||||
|
||||
제목요소 = ImageDraw.Draw(사진)
|
||||
for i, line in enumerate(reversed(급식.split('\n'))):
|
||||
제목요소.text((75, 930 - i * 60), line, font=급식_폰트, anchor="ls", fill=(255, 255, 255))
|
||||
|
||||
세부요소 = ImageDraw.Draw(사진)
|
||||
세부요소.text((767, 80), f"{MLSV_YMD[:4]}년 {MLSV_YMD[4:6]}월 {MLSV_YMD[6:8]}일", font=세부_폰트, fill=(255, 255, 255))
|
||||
세부요소.text((825, 200), f"{급식_칼로리_얻기(MLSV_YMD)}", font=세부_폰트, fill=(137, 202, 255))
|
||||
|
||||
사진.save(f'{ROOT}temp/{MLSV_YMD}.png')
|
||||
|
||||
print("🍲 | Meal Info Image Saved")
|
||||
|
||||
def 스토리_얻기(MLSV_YMD:str):
|
||||
# 1:1 to 9:16 temp/{MLSV_YMD}.png
|
||||
|
||||
사진 = Image.open(f"{ROOT}temp/{MLSV_YMD}.png")
|
||||
가로, 세로 = 사진.size
|
||||
비율 = 9 / 16
|
||||
가로_비율 = 가로 / 세로
|
||||
if 가로_비율 < 비율:
|
||||
새_가로 = int(세로 * 비율)
|
||||
새_세로 = 세로
|
||||
새_사진 = Image.new("RGB", (새_가로, 새_세로), (10, 10, 10))
|
||||
사진 = 사진.resize((int(가로 * 0.85), int(세로 * 0.85)), Image.LANCZOS)
|
||||
새_사진.paste(사진, (int((새_가로 - 사진.width) / 2), int((새_세로 - 사진.height) / 2)))
|
||||
else:
|
||||
새_가로 = 가로
|
||||
새_세로 = int(가로 / 비율)
|
||||
새_사진 = Image.new("RGB", (새_가로, 새_세로), (10, 10, 10))
|
||||
사진 = 사진.resize((int(가로 * 0.85), int(세로 * 0.85)), Image.LANCZOS)
|
||||
새_사진.paste(사진, (int((새_가로 - 사진.width) / 2), int((새_세로 - 사진.height) / 2)))
|
||||
|
||||
새_사진.save(f'temp/{MLSV_YMD}-story.png')
|
||||
print("🍲 | Story Info Image Saved")
|
||||
|
||||
def 디스코드(MLSV_YMD:str):
|
||||
|
||||
오늘급식 = 급식_정보_얻기(MLSV_YMD)
|
||||
|
||||
data = {
|
||||
"content" : MLSV_YMD,
|
||||
"username" : "@today.isangjeong"
|
||||
}
|
||||
|
||||
data["embeds"] = [
|
||||
{
|
||||
"description" : 오늘급식,
|
||||
"title" : "인천상정중학교"
|
||||
}
|
||||
]
|
||||
|
||||
print("🏓 | Sending Payload")
|
||||
result = requests.post(WEBHOOK_URL, json = data)
|
||||
print("🏓 | Payload Sent")
|
||||
|
||||
try:
|
||||
result.raise_for_status()
|
||||
except requests.exceptions.HTTPError as err:
|
||||
print(err)
|
||||
else:
|
||||
print(f"✨ | Payload successfully, code {result.status_code}.")
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
import requests, datetime
|
||||
from bs4 import BeautifulSoup
|
||||
import openpyxl, os
|
||||
|
||||
def get_board():
|
||||
url = "http://isangjeong.icems.kr/boardCnts/list.do?searchType=S&page=1&boardID=33523&prntBoardID=0&prntBoardSeq=0&prntLev=0&m=0601&s=isangjeong"
|
||||
|
||||
response = requests.get(url)
|
||||
|
||||
soup = BeautifulSoup(response.text, "html.parser")
|
||||
|
||||
element = soup.select_one("html body div:nth-of-type(2) div:nth-of-type(3) div div:nth-of-type(2) section:nth-of-type(2) div:nth-of-type(2) div:nth-of-type(2) div:nth-of-type(2) div form table tbody tr:nth-of-type(1) td:nth-of-type(2) a")
|
||||
onclick_value = element.get("onclick")
|
||||
|
||||
values = str(onclick_value[18:-1].replace("'", "")).replace(" ", "").split(",")
|
||||
# for i in values:
|
||||
# print(i)
|
||||
|
||||
return f"http://isangjeong.icems.kr/boardCnts/updateCnt.do?boardID={values[0]}&viewBoardID={values[1]}&boardSeq={values[2]}&lev={values[3]}"
|
||||
|
||||
path = f'{os.getenv('ROOT')}temp/downloaded_file.xlsx'
|
||||
|
||||
def download(url:str):
|
||||
response = requests.get(url)
|
||||
soup = BeautifulSoup(response.text, "html.parser")
|
||||
element = soup.select_one("html > body > div:nth-of-type(2) > div:nth-of-type(3) > div > div:nth-of-type(2) > section:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2) > div > form > table > tbody > tr:nth-of-type(2) > td > p > a:nth-of-type(1)")
|
||||
herf_value = element.get("href")
|
||||
|
||||
response = requests.get("http://isangjeong.icems.kr"+herf_value)
|
||||
with open(path, "wb") as file:
|
||||
file.write(response.content)
|
||||
|
||||
def get_vts():
|
||||
#download(get_board())
|
||||
ws = openpyxl.load_workbook(path).active
|
||||
|
||||
vts_list = []
|
||||
|
||||
for row in ws.iter_rows(min_row=5, max_row=5, min_col=7, max_col=14):
|
||||
for cell in row:
|
||||
if cell.fill.start_color.index == 'FFFFFF00':
|
||||
value = str(cell.value).split('(')[0].strip()\
|
||||
.replace(" ", "")\
|
||||
.replace("월", "")\
|
||||
.replace("일", "")
|
||||
vts_list.append(f"{datetime.datetime.today().year}{value}")
|
||||
return vts_list
|
||||
|
||||
def get_vts_true_or_false():
|
||||
vts_list = get_vts()
|
||||
today = datetime.datetime.today().strftime("%Y%m%d")
|
||||
if today in vts_list:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return False
|
||||
|
||||
1914
app/package-lock.json
generated
Normal file
1914
app/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
20
app/package.json
Normal file
20
app/package.json
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"name": "app",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@google/generative-ai": "^0.24.1",
|
||||
"@napi-rs/canvas": "^0.1.70",
|
||||
"cheerio": "^1.0.0",
|
||||
"exceljs": "^4.4.0",
|
||||
"igramapi": "^1.48.3",
|
||||
"inquirer": "^12.6.0"
|
||||
}
|
||||
}
|
||||
22
app/playground.ts
Normal file
22
app/playground.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// //import { Discord } from "./lib/discord";
|
||||
// import {getAllSchedules} from "./lib/schedules";
|
||||
// import { CreateImage } from "./lib/image";
|
||||
// await CreateImage.PostSchedule();
|
||||
|
||||
// import { Login, Upload } from "./lib/instagram";
|
||||
// try {
|
||||
// const data = await Login();
|
||||
// console.log("✨ | Instagram login successful");
|
||||
// console.log(`🤔 | Login as ${data.currentUser.full_name}`);
|
||||
// } catch (error) {
|
||||
// console.error("❌ | Instagram login failed:", error);
|
||||
// } finally {
|
||||
// console.timeEnd("🔓 | Instagram login");
|
||||
// }
|
||||
|
||||
// await Upload.Post(
|
||||
// `/home/neko/today.isangjeong/app/temp/schedule-2025-06.png`,
|
||||
// `#인천상정중학교 #상정중학교 #학사일정 \n${new Date().getFullYear()}년도 ${
|
||||
// new Date().getMonth() + 1
|
||||
// }월 학사 일정`
|
||||
// );
|
||||
54
app/run.py
54
app/run.py
|
|
@ -1,54 +0,0 @@
|
|||
import argparse
|
||||
from instagrapi import Client
|
||||
import json, os
|
||||
from datetime import datetime, timedelta
|
||||
import library.lib as lib
|
||||
|
||||
# Start timing the script
|
||||
start_time = datetime.now()
|
||||
|
||||
# Argument parser for command-line options
|
||||
parser = argparse.ArgumentParser(description="Upload meal information to Instagram and Discord.")
|
||||
parser.add_argument('--today', action='store_true', help="Use today's date instead of tomorrow's date for the MLSV_YMD timestamp.")
|
||||
args = parser.parse_args()
|
||||
|
||||
# Set MLSV_YMD date based on the --today option
|
||||
if args.today:
|
||||
MLSV_YMD = datetime.now().strftime('%Y%m%d')
|
||||
else:
|
||||
MLSV_YMD = (datetime.now() + timedelta(days=1)).strftime('%Y%m%d')
|
||||
|
||||
print("🍪 | Retrieving saved account information.")
|
||||
cl = Client(json.load(open('./temp/cookies.json')))
|
||||
print("🍪 | Account information was successfully retrieved.")
|
||||
|
||||
print("📅 | Getting MLSV_YMD Timestamp")
|
||||
print("📅 | Date:", MLSV_YMD)
|
||||
|
||||
print("🍲 | Getting Meal Info Image")
|
||||
|
||||
lib.스토리_얻기(MLSV_YMD)
|
||||
print("📸 | Uploading Story")
|
||||
cl.photo_upload_to_story(
|
||||
path=f"temp/{MLSV_YMD}-story.png",
|
||||
caption=f"#인천상정중학교 #상정중학교 #급식 \n{MLSV_YMD}일자 급식",
|
||||
extra_data={'is_paid_partnership': False}
|
||||
)
|
||||
print("📸 | Story Uploaded")
|
||||
|
||||
lib.얻기(MLSV_YMD)
|
||||
print("🖼️ | Uploading Post")
|
||||
cl.photo_upload(
|
||||
f"temp/{MLSV_YMD}.png",
|
||||
caption=f"#인천상정중학교 #상정중학교 #급식 \n{MLSV_YMD}일자 급식",
|
||||
extra_data={'is_paid_partnership': False}
|
||||
)
|
||||
print("🖼️ | Post Uploaded")
|
||||
|
||||
print("🗨️ | Uploading at Discord")
|
||||
lib.디스코드(MLSV_YMD)
|
||||
print("🗨️ | Uploaded at Discord")
|
||||
|
||||
print("🎉 | All tasks completed.")
|
||||
# Calculate running time
|
||||
print("🕒 | Running Time:", datetime.now() - start_time)
|
||||
20
app/run.sh
20
app/run.sh
|
|
@ -1,21 +1,3 @@
|
|||
cd /code/app
|
||||
|
||||
# If doesn't have temp folder, create it
|
||||
if [ ! -d "temp" ]; then
|
||||
mkdir temp
|
||||
fi
|
||||
|
||||
# If doesn't have temp/cookies.json, create it
|
||||
if [ ! -f "temp/cookies.json" ]; then
|
||||
python3 library/init-auth.py
|
||||
fi
|
||||
|
||||
# Set the log file name with the current date and time
|
||||
log_file="temp/$(date +%Y%m%d-%H%M%S).log"
|
||||
|
||||
# Run the Python script with or without --today and output to both the console and log file
|
||||
if [[ "$1" == "--today" ]]; then
|
||||
python3 run.py --today | tee "$log_file"
|
||||
else
|
||||
python3 run.py | tee "$log_file"
|
||||
fi
|
||||
./run
|
||||
BIN
app/template/NotoColorEmoji-Regular.ttf
Normal file
BIN
app/template/NotoColorEmoji-Regular.ttf
Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
BIN
app/template/skeleton_schoolevent.png
Normal file
BIN
app/template/skeleton_schoolevent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
|
|
@ -1,7 +0,0 @@
|
|||
import library.lib as lib
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
MLSV_YMD = str((datetime.now() + timedelta(days=0)).strftime('%Y%m%d'))
|
||||
|
||||
lib.얻기("20241108")
|
||||
lib.스토리_얻기("20241108")
|
||||
28
app/tsconfig.json
Normal file
28
app/tsconfig.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
// Environment setup & latest features
|
||||
"lib": ["ESNext"],
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
"moduleDetection": "force",
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
|
||||
// Bundler mode
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"noEmit": true,
|
||||
|
||||
// Best practices
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
|
||||
// Some stricter flags (disabled by default)
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noPropertyAccessFromIndexSignature": false
|
||||
}
|
||||
}
|
||||
15
compose.yml
Normal file
15
compose.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
app:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./logs:/code/app/temp/logs
|
||||
networks:
|
||||
hikari:
|
||||
|
||||
networks:
|
||||
hikari:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.30.0.0/16
|
||||
2
cron
Normal file
2
cron
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
0 22 * * * /code/app/run.sh >> /code/app/temp/logs/run-$(date +%Y%m%d-%H%M%S).log 2>&1
|
||||
0 23 * * 0 curl -o /code/app/temp/vts.xlsx https://f.imnya.ng/.today.isangjeong/vts.xlsx
|
||||
2
crontab
2
crontab
|
|
@ -1,2 +0,0 @@
|
|||
0 22 * * * /usr/bin/bash /code/app/run.sh
|
||||
5 4 * */2 6 /usr/bin/python3 /code/app/library/init-auth.py > /code/app/temp/auth-$(date +%Y%m%d-%H%M%S).log 2>&1
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
annotated-types==0.7.0
|
||||
beautifulsoup4==4.12.3
|
||||
bs4==0.0.2
|
||||
certifi==2024.8.30
|
||||
charset-normalizer==3.3.2
|
||||
et-xmlfile==1.1.0
|
||||
idna==3.8
|
||||
instagrapi==2.1.2
|
||||
openpyxl==3.1.5
|
||||
pillow==10.4.0
|
||||
pycryptodomex==3.20.0
|
||||
pydantic==2.7.1
|
||||
pydantic_core==2.18.2
|
||||
PySocks==1.7.1
|
||||
requests==2.32.3
|
||||
soupsieve==2.6
|
||||
typing_extensions==4.12.2
|
||||
urllib3==2.2.2
|
||||
330
temp.ics
Normal file
330
temp.ics
Normal file
|
|
@ -0,0 +1,330 @@
|
|||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//Google Inc//Google Calendar 70.9054//EN
|
||||
CALSCALE:GREGORIAN
|
||||
METHOD:PUBLISH
|
||||
X-WR-CALNAME:2025년 학사일정
|
||||
X-WR-TIMEZONE:Asia/Seoul
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250301
|
||||
DTEND;VALUE=DATE:20250302
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250301-삼일절@today.isangjeong@al-1s.kr
|
||||
SUMMARY:삼일절
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250304
|
||||
DTEND;VALUE=DATE:20250305
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250304-입학식@today.isangjeong@al-1s.kr
|
||||
SUMMARY:입학식
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250305
|
||||
DTEND;VALUE=DATE:20250306
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250305-창체-봉사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체/봉사
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250312
|
||||
DTEND;VALUE=DATE:20250313
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250312-창체@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250313
|
||||
DTEND;VALUE=DATE:20250314
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250313-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250317
|
||||
DTEND;VALUE=DATE:20250318
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250317-학부모총회@today.isangjeong@al-1s.kr
|
||||
SUMMARY:학부모총회
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250320
|
||||
DTEND;VALUE=DATE:20250321
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250320-기초학력진단검사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:기초학력진단검사
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250326
|
||||
DTEND;VALUE=DATE:20250327
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250326-1학기-방과후학교-시작@today.isangjeong@al-1s.kr
|
||||
SUMMARY:1학기 방과후학교 시작
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250331
|
||||
DTEND;VALUE=DATE:20250401
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250331-창체-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체/동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250430
|
||||
DTEND;VALUE=DATE:20250502
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250430-1학기-1회고사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:1학기 1회고사(2,3학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250506
|
||||
DTEND;VALUE=DATE:20250507
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250506-대체휴일@today.isangjeong@al-1s.kr
|
||||
SUMMARY:대체휴일
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250509
|
||||
DTEND;VALUE=DATE:20250510
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250509-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250513
|
||||
DTEND;VALUE=DATE:20250514
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250513-리더십캠프@today.isangjeong@al-1s.kr
|
||||
SUMMARY:리더십캠프
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250516
|
||||
DTEND;VALUE=DATE:20250517
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250516-스포츠대축제@today.isangjeong@al-1s.kr
|
||||
SUMMARY:스포츠대축제
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250521
|
||||
DTEND;VALUE=DATE:20250522
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250521-진로체험활동@today.isangjeong@al-1s.kr
|
||||
SUMMARY:진로체험활동(3학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250523
|
||||
DTEND;VALUE=DATE:20250524
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250523-진로체험활동@today.isangjeong@al-1s.kr
|
||||
SUMMARY:진로체험활동(1,2학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250530
|
||||
DTEND;VALUE=DATE:20250531
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250530-창체-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체/동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250604
|
||||
DTEND;VALUE=DATE:20250605
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250604-교과연계-체험학습@today.isangjeong@al-1s.kr
|
||||
SUMMARY:교과연계 체험학습(2학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250605
|
||||
DTEND;VALUE=DATE:20250606
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250605-재량휴업일@today.isangjeong@al-1s.kr
|
||||
SUMMARY:재량휴업일
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250627
|
||||
DTEND;VALUE=DATE:20250628
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250627-1학기-방과후학교-종강@today.isangjeong@al-1s.kr
|
||||
SUMMARY:1학기 방과후학교 종강
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250707
|
||||
DTEND;VALUE=DATE:20250710
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250707-1학기-2회고사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:1학기 2회고사(2,3학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250721
|
||||
DTEND;VALUE=DATE:20250722
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250721-1학년-건강검진@today.isangjeong@al-1s.kr
|
||||
SUMMARY:1학년 건강검진
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250722
|
||||
DTEND;VALUE=DATE:20250723
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250722-방학식@today.isangjeong@al-1s.kr
|
||||
SUMMARY:방학식
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250723
|
||||
DTEND;VALUE=DATE:20250812
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250723-여름방학@today.isangjeong@al-1s.kr
|
||||
SUMMARY:여름방학
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250812
|
||||
DTEND;VALUE=DATE:20250813
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250812-개학식@today.isangjeong@al-1s.kr
|
||||
SUMMARY:개학식
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250827
|
||||
DTEND;VALUE=DATE:20250828
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250827-2학기-방과후학교-시작@today.isangjeong@al-1s.kr
|
||||
SUMMARY:2학기 방과후학교 시작
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250903
|
||||
DTEND;VALUE=DATE:20250904
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250903-학부모-공개수업@today.isangjeong@al-1s.kr
|
||||
SUMMARY:학부모 공개수업
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250925
|
||||
DTEND;VALUE=DATE:20250926
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250925-진로체험활동@today.isangjeong@al-1s.kr
|
||||
SUMMARY:진로체험활동
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20250926
|
||||
DTEND;VALUE=DATE:20250927
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20250926-창체-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체/동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251010
|
||||
DTEND;VALUE=DATE:20251011
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251010-재량휴업일@today.isangjeong@al-1s.kr
|
||||
SUMMARY:재량휴업일
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251016
|
||||
DTEND;VALUE=DATE:20251018
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251016-2학기-1회고사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:2학기 1회고사(1,2학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251020
|
||||
DTEND;VALUE=DATE:20251021
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251020-창체@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251029
|
||||
DTEND;VALUE=DATE:20251101
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251029-2학기-1회고사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:2학기 1회고사(3학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251104
|
||||
DTEND;VALUE=DATE:20251105
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251104-스포츠-클럽데이@today.isangjeong@al-1s.kr
|
||||
SUMMARY:스포츠 클럽데이(1,2학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251107
|
||||
DTEND;VALUE=DATE:20251108
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251107-스포츠-클럽데이@today.isangjeong@al-1s.kr
|
||||
SUMMARY:스포츠 클럽데이(3학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251113
|
||||
DTEND;VALUE=DATE:20251114
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251113-재량휴업일@today.isangjeong@al-1s.kr
|
||||
SUMMARY:재량휴업일
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251114
|
||||
DTEND;VALUE=DATE:20251115
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251114-개교기념일@today.isangjeong@al-1s.kr
|
||||
SUMMARY:개교기념일
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251120
|
||||
DTEND;VALUE=DATE:20251121
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251120-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251121
|
||||
DTEND;VALUE=DATE:20251122
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251121-샘소슬제@today.isangjeong@al-1s.kr
|
||||
SUMMARY:샘소슬제
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251128
|
||||
DTEND;VALUE=DATE:20251129
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251128-동아리@today.isangjeong@al-1s.kr
|
||||
SUMMARY:동아리
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251205
|
||||
DTEND;VALUE=DATE:20251206
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251205-2학기-방과후학교-종강@today.isangjeong@al-1s.kr
|
||||
SUMMARY:2학기 방과후학교 종강
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251206
|
||||
DTEND;VALUE=DATE:20251207
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251206-상정-소통의-날@today.isangjeong@al-1s.kr
|
||||
SUMMARY:상정 소통의 날
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251216
|
||||
DTEND;VALUE=DATE:20251219
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251216-2학기-2회고사@today.isangjeong@al-1s.kr
|
||||
SUMMARY:2학기 2회고사(1,2학년)
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20251224
|
||||
DTEND;VALUE=DATE:20251225
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20251224-창체@today.isangjeong@al-1s.kr
|
||||
SUMMARY:창체
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20260107
|
||||
DTEND;VALUE=DATE:20260108
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20260107-종업식-및-졸업식@today.isangjeong@al-1s.kr
|
||||
SUMMARY:종업식 및 졸업식
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART;VALUE=DATE:20260108
|
||||
DTEND;VALUE=DATE:20260228
|
||||
DTSTAMP:20250514T115950Z
|
||||
UID:20260108-겨울방학@today.isangjeong@al-1s.kr
|
||||
SUMMARY:겨울방학
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
66
vts-fetch.ts
Normal file
66
vts-fetch.ts
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// vts-fetch.ts
|
||||
const BASE = "https://isangjeong.icems.kr";
|
||||
|
||||
async function main() {
|
||||
const listUrl = `${BASE}/boardCnts/list.do?boardID=33523&m=0601&s=isangjeong`;
|
||||
const listRes = await fetch(listUrl, {
|
||||
headers: {
|
||||
'User-Agent': 'today.isangjeong'
|
||||
}
|
||||
});
|
||||
if (!listRes.ok) throw new Error(`list fetch failed: ${listRes.status}`);
|
||||
const listHtml = await listRes.text();
|
||||
|
||||
// 더 안정적으로: 먼저 subject_ID 검사, 없으면 goView의 3번째 인자 사용
|
||||
let boardSeq: string | null = null;
|
||||
const idMatch = listHtml.match(/id=["']subject_(\d+)["']/);
|
||||
if (idMatch) boardSeq = idMatch[1];
|
||||
else {
|
||||
const gv = listHtml.match(/goView\(\s*['"]\d+['"]\s*,\s*['"]\d+['"]\s*,\s*['"](\d+)['"]/);
|
||||
if (gv) boardSeq = gv[1];
|
||||
}
|
||||
|
||||
if (!boardSeq) {
|
||||
console.error("게시글 번호( boardSeq )를 찾을 수 없음.");
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("게시글 번호:", boardSeq);
|
||||
|
||||
const viewUrl = `${BASE}/boardCnts/updateCnt.do?boardID=33523&viewBoardID=33523&boardSeq=${boardSeq}&lev=0&action=view`;
|
||||
console.log("상세 페이지 URL:", viewUrl);
|
||||
|
||||
const viewRes = await fetch(viewUrl, {
|
||||
headers: {
|
||||
'User-Agent': 'today.isangjeong'
|
||||
}
|
||||
});
|
||||
if (!viewRes.ok) throw new Error(`view fetch failed: ${viewRes.status}`);
|
||||
const viewHtml = await viewRes.text();
|
||||
|
||||
// 첨부파일 링크 추출 (첫 번째 fileDown 링크 사용)
|
||||
const fileHrefMatch = viewHtml.match(/href=["'](\/boardCnts\/fileDown\.do\?fileSeq=[^"']+)["']/i);
|
||||
if (!fileHrefMatch) {
|
||||
console.error("파일 다운로드 링크 없음.");
|
||||
return;
|
||||
}
|
||||
const fileUrl = BASE + fileHrefMatch[1];
|
||||
console.log("파일 URL:", fileUrl);
|
||||
|
||||
const fileRes = await fetch(fileUrl, {
|
||||
headers: {
|
||||
'User-Agent': 'today.isangjeong'
|
||||
}
|
||||
});
|
||||
if (!fileRes.ok) throw new Error(`file fetch failed: ${fileRes.status}`);
|
||||
|
||||
const ab = await fileRes.arrayBuffer();
|
||||
const outputPath = "/var/static/f.imnya.ng/.today.isangjeong/vts.xlsx";
|
||||
await Bun.write(outputPath, new Uint8Array(ab));
|
||||
console.log("저장됨:", outputPath);
|
||||
}
|
||||
|
||||
main().catch((e) => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue