{"id":28499338,"url":"https://github.com/newt239/ship-notify-public","last_synced_at":"2026-05-04T12:35:51.679Z","repository":{"id":45779113,"uuid":"330961623","full_name":"newt239/SHIP-notify-public","owner":"newt239","description":"To notify the update of SHIP","archived":false,"fork":false,"pushed_at":"2022-07-16T08:50:10.000Z","size":25730,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T02:39:27.655Z","etag":null,"topics":["discord-py","firebase","python3","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newt239.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-19T11:45:03.000Z","updated_at":"2022-04-01T16:41:09.000Z","dependencies_parsed_at":"2022-08-05T12:00:13.560Z","dependency_job_id":null,"html_url":"https://github.com/newt239/SHIP-notify-public","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/newt239/SHIP-notify-public","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newt239%2FSHIP-notify-public","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newt239%2FSHIP-notify-public/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newt239%2FSHIP-notify-public/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newt239%2FSHIP-notify-public/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newt239","download_url":"https://codeload.github.com/newt239/SHIP-notify-public/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newt239%2FSHIP-notify-public/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32607810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord-py","firebase","python3","selenium"],"created_at":"2025-06-08T14:36:07.063Z","updated_at":"2026-05-04T12:35:51.673Z","avatar_url":"https://github.com/newt239.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SHIP-notify\r\n\r\n## 概要\r\n\r\n[SHIP](https://ship.sakae-higashi.jp/)に新しいファイルが投稿された際に通知するシステム。\r\n\r\nPaaSとしてHerokuを使用。Discord.pyの\u003ccode\u003e@tasks.loop\u003c/code\u003eで600秒毎に現在時間を確認し、予め設定していた時間であればSHIPやその他このシステムで更新を取得しているプラットフォームへAPIリクエストやスクレイピングを行い、データベースと差があれば更新し各媒体での通知を行う。\r\n\r\nSHIPのスクレイピングにはseleniumを使用。中高それぞれの「連絡事項」「学習教材」「学校通信」のページを1日2～5回程度取得している。データベースに保存されていないものが見つかればそのリンクをクリックし、説明文やファイルのダウンロード＆SHIP-notify側のデータベースへのアップロードを行う。\r\n\r\nデータベースはFirebaseのFirestoreとStrageを使用。ファイルの保存に関しては無料枠の容量で抑えるため中学のページのものは保存を行っていない。\r\n\r\n\r\n## その他備考\r\n\r\n### webDriver バージョン設定\r\n\r\n環境変数 \u003ccode\u003eCHROMEDRIVER_VERSION\u003c/code\u003e に[ここ](https://chromedriver.chromium.org/downloads)に記載されているバージョンをセットする。\r\n現在のバージョンは\u003ccode\u003e99.0.4844.51\u003c/code\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewt239%2Fship-notify-public","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewt239%2Fship-notify-public","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewt239%2Fship-notify-public/lists"}