Imports github.com/pkg/errors github.com/grafov/m3u8 Standard library imports bytes encoding/json fmt io io/ioutil net/http net/url regexp strconv strings