Documentation
¶
Index ¶
Constants ¶
View Source
const ApiUrl = "http://service.jdownloader.org/dlcrypt/service.php?srcType=dlc&destType=pylo&data=%s"
Variables ¶
View Source
var ( RcKey = []byte("cb99b5cbc24db398") RcIV = []byte("9bc24cb995cb8db3") )
Functions ¶
This section is empty.
Types ¶
type Base64String ¶
type Base64String string
func (*Base64String) UnmarshalXML ¶
func (b *Base64String) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (*Base64String) UnmarshalXMLAttr ¶
func (b *Base64String) UnmarshalXMLAttr(attr xml.Attr) error
type DLC ¶
type DLC struct {
XMLName xml.Name `xml:"dlc"`
Header struct {
Generator struct {
App Base64String `xml:"app"`
Version Base64String `xml:"version"`
URL Base64String `xml:"url"`
} `xml:"generator"`
Tribute Base64String `xml:"tribute"`
Dlcxmlversion Base64String `xml:"dlcxmlversion"`
} `xml:"header"`
Content struct {
Package []struct {
Category Base64String `xml:"category,attr"`
Comment Base64String `xml:"comment,attr"`
Name Base64String `xml:"name,attr"`
File []struct {
URL Base64String `xml:"url"`
Filename Base64String `xml:"filename"`
Size Base64String `xml:"size"`
} `xml:"file"`
} `xml:"package"`
} `xml:"content"`
}
func DecryptDLC ¶
func (*DLC) GeneratedBy ¶
Click to show internal directories.
Click to hide internal directories.