diva
Convert diva.cmore.se URLs into img-cdn-cmore.b17g.services URLs
Installation
go get -u github.com/TV4/diva
Usage
package main
import (
"fmt"
"github.com/TV4/diva"
)
func main() {
rawurl := "http://diva.cmore.se/image.aspx?formatid=221&id=a21630f5-ef51-4632-bf6f-cc94073d3cb1"
fmt.Println(diva.CDNRawURL(rawurl))
}