Skip to content

Commit

Permalink
update: Error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yigit433 committed Feb 13, 2022
1 parent 2c88780 commit b4f57d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func ParseHTML(html string, limit int) []SearchResult {
})
}
} else if val, ok := sdata["channelRenderer"]; ok {
parsed := ParseVideo(val)
parsed := ParseChannel(val)

if parsed.IsSuccess {
output = append(output, SearchResult{
Expand Down
2 changes: 1 addition & 1 deletion youtube.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package youtubego

func Search(searchq string, options SearchOptions) []interface{} {
func Search(searchq string, options SearchOptions) []SearchResult {
res := CreateRequest(searchq, options)

return res
Expand Down

0 comments on commit b4f57d9

Please sign in to comment.