Skip to content

Commit

Permalink
fix: remove index parameter when cleaning non playlist urls
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTipo01 committed Sep 9, 2023
1 parent 2fdff72 commit 409c8b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ func filterPlaylist(link string) (string, error) {
u, _ := url.Parse(link)
q := u.Query()
q.Del("list")
q.Del("index")
if q.Has("v") || be {
u.RawQuery = q.Encode()
return u.String(), nil
Expand Down

0 comments on commit 409c8b8

Please sign in to comment.