mirror of
https://github.com/weyne85/chaturbate-dvr.git
synced 2025-10-29 16:58:56 +00:00
commit
7c4bb524b9
4
main.go
4
main.go
@ -122,8 +122,8 @@ func parseM3U8Source(url string) (chunks []*m3u8.MediaSegment, wait float64, err
|
||||
|
||||
// capture captures the specified channel streaming.
|
||||
func capture(username string) {
|
||||
// Define the video filename by current time.
|
||||
filename := time.Now().Format("2006-01-02_15-04-05")
|
||||
// Define the video filename by current time //04.09.22 added username into filename mKeey.
|
||||
filename := username + "_" + time.Now().Format("2006-01-02_15-04-05")
|
||||
// Get the channel page content body.
|
||||
body := getBody(username)
|
||||
// Get the master playlist URL from extracting the channel body.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user