Skip to content

Commit

Permalink
Merge pull request #33 from coosir/master
Browse files Browse the repository at this point in the history
去掉验证url中是否包含m3u8
  • Loading branch information
llychao authored Mar 1, 2022
2 parents a9a3a37 + 82d0cb4 commit a6afb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m3u8-downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func Run() {
if cookie != "" {
ro.Headers["Cookie"] = cookie
}
if !strings.HasPrefix(m3u8Url, "http") || !strings.Contains(m3u8Url, "m3u8") || m3u8Url == "" {
if !strings.HasPrefix(m3u8Url, "http") || m3u8Url == "" {
flag.Usage()
return
}
Expand Down

0 comments on commit a6afb88

Please sign in to comment.