Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into beta
  • Loading branch information
chenfan0 committed Aug 23, 2024
2 parents a683a3b + a7fe473 commit 9023a5b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</div>

## ✋🏻 简介
这是一个基于`React` `Ffmpeg` `Electron`**直播录制软件**。支持监控直播,可以帮助用户简单便捷的对直播进行录制并保存为MP4格式的视频
这是一个基于`React` `Ffmpeg` `Electron` `Shadcn`**直播录制软件**。支持监控直播,可以帮助用户简单便捷的对直播进行录制并保存为MP4格式的视频

## 已支持平台
- [x] [YouTube](https://www.youtube.com/)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[中文文档](https://github.com/chenfan0/fideo-live-record/blob/main/README-CN.md)

## ✋🏻Introduction
This is a **live recording software** based on `React`, `Ffmpeg`, and `Electron`. It supports monitoring live streams, making it simple and convenient for users to record live streams and save them as MP4 videos.
This is a **live recording software** based on `React`, `Ffmpeg`, `Electron`, `Shadcn`. It supports monitoring live streams, making it simple and convenient for users to record live streams and save them as MP4 videos.

## Supported Platforms
- [x] [YouTube](https://www.youtube.com/)
Expand Down
9 changes: 9 additions & 0 deletions src/main/crawler/plugins/shiguang.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ async function baseGetShiGuangLiveUrlsPlugin(roomUrl, others = {}) {
}
)
).data.data.roomInfo

const liveStat = roomInfo.live_stat

if (liveStat !== 1) {
return {
code: CRAWLER_ERROR_CODE.NOT_URLS
}
}

const liveID = roomInfo.liveID
const idx = roomInfo.idx

Expand Down

0 comments on commit 9023a5b

Please sign in to comment.