{"id":29292999,"url":"https://github.com/ko31/swh_ci","last_synced_at":"2026-05-21T05:05:26.832Z","repository":{"id":31110941,"uuid":"34670372","full_name":"ko31/swh_ci","owner":"ko31","description":"将棋ウォーズの履歴ページをスクレイピングして対局データを保存するツール。CodeIgniter版です。","archived":false,"fork":false,"pushed_at":"2016-05-04T22:00:11.000Z","size":575,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T10:12:02.744Z","etag":null,"topics":["codeigniter","php","shogi"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/ko31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-27T14:07:03.000Z","updated_at":"2018-06-02T22:44:39.000Z","dependencies_parsed_at":"2022-09-07T06:30:23.715Z","dependency_job_id":null,"html_url":"https://github.com/ko31/swh_ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ko31/swh_ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2Fswh_ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2Fswh_ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2Fswh_ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2Fswh_ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ko31","download_url":"https://codeload.github.com/ko31/swh_ci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2Fswh_ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33289546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"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":["codeigniter","php","shogi"],"created_at":"2025-07-06T10:12:00.763Z","updated_at":"2026-05-21T05:05:26.786Z","avatar_url":"https://github.com/ko31.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 将棋ウォーズ対局履歴取得ツール（CodeIgniter版）\n\n## 概要\n\n* 将棋ウォーズの対局履歴ページをスクレイピングして対局データを保存するツールです。\n* [CodeIgniter](http://www.codeigniter.com/) ベースに作られています。\n* スクレイピングには [Goutte](https://github.com/FriendsOfPHP/Goutte) を使っています。\n\n## 使い方\n\n### インストール\n\nソースをチェックアウトします。\n\n```\n$ git clone git@github.com:ko31/swh_ci.git\n```\n\nlogs ディレクトリに書き込み権限を与えておきます。\n\n```\n$ chmod 0777 swh_ci/application/logs\n```\n\n設定ファイルの将棋ウォーズユーザー名を自分のものに変更します。\n\n```\n$ vi application/config/development/config.php\n\n// 将棋ウォーズのユーザー名\n$config['my_user_name'] = 'ko31';\n```\n\n### 対局履歴データの取得\n\n対局履歴データの取得はブラウザ、コマンドラインのいずれかから実行できます。\n\nブラウザから実行する場合、下記のような URL にアクセスします。（Document Root 下の swh_ci ディレクトリにインストールされている場合）\n\n```\nhttp://example.com/swh_ci/wars/update\n```\n\nコマンドラインから実行する場合、下記のようにコマンドを実行します。\n\n```\n$ cd /path/to/swh_ci\n$ php index.php wars update\n```\n\n対局履歴データの取得が完了すると、swh_ci/application/logs/history.csv に対局履歴データが保存されます。\n\n### 対局履歴データの閲覧\n\nブラウザから対局履歴データを一覧表示することができます。\n\n下記のような URL にアクセスします。\n\n```\nhttp://example.com/swh_ci/\n```\n\n## 注意事項\n\n* MIT ライセンスです。\n* ご利用は自己責任でお願いします。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fko31%2Fswh_ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fko31%2Fswh_ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fko31%2Fswh_ci/lists"}