{"id":15629800,"url":"https://github.com/scx567888/live-room-watcher","last_synced_at":"2025-03-26T07:32:01.818Z","repository":{"id":103091062,"uuid":"586828345","full_name":"scx567888/live-room-watcher","owner":"scx567888","description":"📺 可抓取直播间 弹幕, 礼物, 点赞, 原始流地址等","archived":false,"fork":false,"pushed_at":"2024-10-24T11:08:46.000Z","size":4164,"stargazers_count":279,"open_issues_count":18,"forks_count":75,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-25T09:21:53.219Z","etag":null,"topics":["chat","douyin","java","kuaishou","live-room","tiktok","webcast"],"latest_commit_sha":null,"homepage":"","language":"Java","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/scx567888.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"scx567888"}},"created_at":"2023-01-09T10:27:09.000Z","updated_at":"2024-10-24T19:54:08.000Z","dependencies_parsed_at":"2023-10-24T03:43:18.864Z","dependency_job_id":"b59dfb57-240f-43a6-9f5c-52489f26d04d","html_url":"https://github.com/scx567888/live-room-watcher","commit_stats":null,"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scx567888%2Flive-room-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scx567888%2Flive-room-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scx567888%2Flive-room-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scx567888%2Flive-room-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scx567888","download_url":"https://codeload.github.com/scx567888/live-room-watcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245611736,"owners_count":20643886,"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","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":["chat","douyin","java","kuaishou","live-room","tiktok","webcast"],"created_at":"2024-10-03T10:28:50.312Z","updated_at":"2025-03-26T07:32:01.391Z","avatar_url":"https://github.com/scx567888.png","language":"Java","funding_links":["https://github.com/sponsors/scx567888"],"categories":["API\u0026客户端"],"sub_categories":["文件同步"],"readme":"# Live Room Watcher\n\n\u003cp align=\"center\"\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/scx567888/live-room-watcher/actions/workflows/ci.yml\"\u003e\n        \u003cimg src=\"https://github.com/scx567888/live-room-watcher/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://central.sonatype.com/artifact/cool.scx/live-room-watcher\"\u003e\n        \u003cimg src=\"https://img.shields.io/maven-central/v/cool.scx/live-room-watcher?color=ff69b4\" alt=\"maven-central\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/scx567888/live-room-watcher\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/languages/code-size/scx567888/live-room-watcher?color=orange\" alt=\"code-size\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/scx567888/live-room-watcher/issues\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/scx567888/live-room-watcher\" alt=\"issues\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/scx567888/live-room-watcher/blob/master/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/scx567888/live-room-watcher\" alt=\"license\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/scx567888/scx\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/SCX Common-f44336\" alt=\"SCX Common\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/protocolbuffers/protobuf\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Protocol Buffers-ff8000\" alt=\"Protocol Buffers\"/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/cbeust/testng\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/TestNG-9c27b0\" alt=\"TestNG\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## 📺 可抓取直播间 弹幕, 礼物, 点赞, 原始流地址等 (仅供学习使用,不得用于商业用途)\n\n|      平台       | 弹幕(消息) | 点赞  | 礼物  | 进入直播间 | 关注  | 原始流地址 |\n|:-------------:|:------:|:---:|:---:|:-----:|:---:|:-----:|\n|    抖音(官方)     |   ✔    |  ✔  |  ✔  |   ❌   |  ❌  |   ❌   |\n|   抖音(Hack)    |   ✔    |  ✔  |  ✔  |   ✔   |  ✔  |   ✔   |\n| TikTok (Hack) |   ✔    |  ✔  |  ✔  |   ✔   |  ✔  |   ✔   |\n|    快手(官方)     |   ✔    |  ✔  |  ✔  |   ❌   |  ❌  |   ❌   |\n\n## Maven\n\n``` xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecool.scx\u003c/groupId\u003e\n    \u003cartifactId\u003elive-room-watcher\u003c/artifactId\u003e\n    \u003cversion\u003e{version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## 基本用法\n\n``` java\nimport cool.scx.live_room_watcher.impl.douyin_hack.DouYinHackLiveRoomWatcher;\n\npublic class Main {\n\n    public static void main(String[] args) {\n        var liveRoomWatcher = new DouYinHackLiveRoomWatcher(\"https://live.douyin.com/357626301151\");\n\n        liveRoomWatcher.onChat(chat -\u003e {\n            System.out.println(\"[消息] \" + chat.user().nickname() + \" : \" + chat.content());\n        }).onUser(user -\u003e {\n            System.out.println(\"[来了] \" + user.nickname());\n        }).onLike(like -\u003e {\n            System.out.println(\"[点赞] \" + like.user().nickname() + \" x \" + like.count());\n        }).onFollow(follow -\u003e {\n            System.out.println(\"[关注] \" + follow.user().nickname());\n        }).onGift(gift -\u003e {\n            System.out.println(\"[礼物] \" + gift.user().nickname() + \" : \" + gift.name() + \" x \" + gift.count());\n        });\n\n        liveRoomWatcher.startWatch();\n\n        System.out.println(\"[直播流地址] \" + liveRoomWatcher.liveRoomWebStreamURLs());\n    }\n\n}\n```\n\n### 由于第三方的系统总是在不断的更新升级 如果功能失效请提 issues 并详细说明情况 .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscx567888%2Flive-room-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscx567888%2Flive-room-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscx567888%2Flive-room-watcher/lists"}