{"id":20665195,"url":"https://github.com/xmisao/mediaarts_scraper","last_synced_at":"2025-08-26T15:19:29.843Z","repository":{"id":56883157,"uuid":"147910257","full_name":"xmisao/mediaarts_scraper","owner":"xmisao","description":"Ruby scraper implementation for https://mediaarts-db.bunka.go.jp/","archived":false,"fork":false,"pushed_at":"2018-09-30T14:12:50.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-17T05:40:57.837Z","etag":null,"topics":["gem","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/xmisao.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":"2018-09-08T07:04:10.000Z","updated_at":"2018-09-30T14:14:15.000Z","dependencies_parsed_at":"2022-08-20T13:10:39.155Z","dependency_job_id":null,"html_url":"https://github.com/xmisao/mediaarts_scraper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xmisao/mediaarts_scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmisao%2Fmediaarts_scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmisao%2Fmediaarts_scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmisao%2Fmediaarts_scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmisao%2Fmediaarts_scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmisao","download_url":"https://codeload.github.com/xmisao/mediaarts_scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmisao%2Fmediaarts_scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272233448,"owners_count":24896818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gem","ruby","ruby-gem"],"created_at":"2024-11-16T19:29:01.564Z","updated_at":"2025-08-26T15:19:29.795Z","avatar_url":"https://github.com/xmisao.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediaartsScraper\n\nRuby scraper implementation for https://mediaarts-db.bunka.go.jp/\n\n文化庁のメディア芸術データベースをスクレイピングするGemライブラリです。\n\n# Installation\n\n```bash\ngem install 'mediaarts_scraper'\n```\n\n# Usage\n\nアニメシリーズIDを指定してスクレイピングする。\n\n```ruby\nrequire \"mediaarts_scraper\"\n\n# アニメシリーズID\nans_id = 14810 # 魔法少女まどか★マギカ\n\n# ページオブジェクトを作る\nanime_series_page = MediaartsScraper::Page::AnimeSeriesPage.from_ans_id(ans_id)\n\n# データオブジェクトを得る\nanime_series = anime_series_page.data\n\n# データオブジェクトから取得できる属性を得る\n# 属性の名前はサイト上で言語をEnglishにした場合の項目名に準じます\np anime_series.attributes #=\u003e [:anime_series_id, :distribution_format, :anime_work_id, :title, :title_kana, :date_of_release, :date_of_end, :time_slot_or_duration, :number_of_broadc\nasts, :number_of_episodes, :distributor, :broadcast_period, :production_company, :original_source, :director, :credits, :cast, :theme_songs, :episode_t\nitles, :notes, :description, :story, :main_characters, :character_design, :characters, :music_or_sound_effects, :format_of_original_source, :eirin_no, \n:rating_by_the_eirin, :copyright, :english_title_in_japan, :english_title_overseas, :hepburn_romanization_of_original_title, :romanization_of_original_\ntitle, :alternative_titles, :related_works, :tag, :carrier_type_of_original_material, :information_sources, :episodes, :materials, :packages, :related_\nseries, :manga_work]\n\n# データオブジェクトから属性の値を得る\np anime_series.title #=\u003e \"魔法少女まどか★マギカ\"\n\n# データオブジェクトをハッシュに変換する\np anime_series.to_hash #=\u003e {\"class\"=\u003e\"MediaartsScraper::Data::AnimeSeries\", :anime_series_id=\u003e\"ANS001019800\", :distribution_format=\u003e\"TV\", :anime_work_id=\u003e\"ANT001019800\", :title=\u003e\n\"魔法少女まどか★マギカ\",...\n\n# データオブジェクトをJSONに変換する\np anime_series.to_json #=\u003e \"{\\\"class\\\":\\\"MediaartsScraper::Data::AnimeSeries\\\",\\\"anime_series_id\\\":\\\"ANS001019800\\\",\\\"distribution_format\\\":\\\"TV\\\",\\\"anime_work_id\\\":\\\"ANT001019800\\\",\\\"title\\\":\\\"魔法少女まどか★マギカ\\\",...\n```\n\n`examples`以下に使用例があります。\n\n# Supported Pages\n\nバージョン0.1はアニメーションのみの対応です。\n\n|Path|Page title|Page Object|Data Object|\n|:---|:---|:---|:---|\n|`/mg/`|マンガ|-|-|\n|`/an/anime_series/\u003cans_id\u003e`|作品情報(シリーズ)|`AnimeSeriesPage`|`AnimeSeries`|\n|`/an/anime_series/\u003cans_id\u003e/episodes`|各話情報一覧|`AnimeEpisodesPage`|`AnimeEpisodes`|\n|`/an/anime_series/\u003cans_id\u003e/anime_packages/\u003canp_id\u003e`|パッケージ情報|`AnimePackagesPage`|`AnimePackages`|\n|`/gm/`|ゲーム|-|-|\n|`/ma/`|メディアアート|-|-|\n\n`-` means unsupported yet.\n\n# Development\n\n## Debug\n\nOutput internal logs of mediaarts_scraper by the following environment variable.\n\n```\nMEDIAARTS_SCRAPER_LOG_LEVEL=0\n```\n\n## Testing\n\nRun system integration testing. (Network connection is required.)\n\n```\nrake sit\n```\n\nUpdate expectation of system integration testing.\n\n```\nrake sit_update\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/xmisao/mediaarts_scraper\n\n# MediaartsData\n\nScraped data is available at https://github.com/xmisao/mediaarts_data\n\nスクレイピング済みのデータは https://github.com/xmisao/mediaarts_data から入手できます。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmisao%2Fmediaarts_scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmisao%2Fmediaarts_scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmisao%2Fmediaarts_scraper/lists"}