mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Merge branch 'next/v3' into v3/feature/non-premium-support
This commit is contained in:
commit
ae075ed4c9
27 changed files with 1173 additions and 205 deletions
|
|
@ -2,9 +2,9 @@ package crunchyroll
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/grafov/m3u8"
|
||||
"net/http"
|
||||
"regexp"
|
||||
)
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ func (s *Stream) Formats() ([]*Format, error) {
|
|||
|
||||
// fromVideoStreams returns all streams which are accessible via the endpoint.
|
||||
func fromVideoStreams(crunchy *Crunchyroll, endpoint string) (streams []*Stream, err error) {
|
||||
resp, err := crunchy.request(endpoint)
|
||||
resp, err := crunchy.request(endpoint, http.MethodGet)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue