Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #45 from gazes-media/main
Browse files Browse the repository at this point in the history
Update "breaker"
  • Loading branch information
garder500 authored Dec 5, 2023
2 parents 337c4d1 + 34d8bfd commit ce646e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func downloadEpisode(episode EpisodeJson, cache *functions.Cache) (string, error
cache.Set(episodeName, "downloading")
for scanner.Scan() {
m := scanner.Text()
if strings.Contains(m, "time=") {
if strings.Contains(m, "kbits/s speed=") {
cache.Set(episodeName, episodeName+".mp4")
fmt.Println("Downloaded " + episodeName)
}
Expand Down

0 comments on commit ce646e7

Please sign in to comment.