summaryrefslogtreecommitdiff
path: root/rhimport/youtubedl_responses.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-15 13:55:52 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-15 13:55:52 (GMT)
commitf4801e4f33eb9683dacefdac0687eaa217b01213 (patch)
treee6c60b6b3c3bc2dc5155b02447cb61ff70309851 /rhimport/youtubedl_responses.go
parentb7456c5beafeeba5357db25eac195b93313647fe (diff)
normalizer can now be canceled
Diffstat (limited to 'rhimport/youtubedl_responses.go')
-rw-r--r--rhimport/youtubedl_responses.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/rhimport/youtubedl_responses.go b/rhimport/youtubedl_responses.go
index 1a8c0ca..6f6d7ee 100644
--- a/rhimport/youtubedl_responses.go
+++ b/rhimport/youtubedl_responses.go
@@ -31,13 +31,14 @@ import (
)
type YoutubeDLInfo struct {
- ID string `json:"id"`
- Title string `json:"title"`
- URL string `json:"url"`
- Extractor string `json:"extractor"`
- Ext string `json:"ext"`
- Protocol string `json:"protocol"`
- HTTPHeaders map[string]string `json:"http_headers"`
+ ID string `json:"id"`
+ Title string `json:"title"`
+ URL string `json:"url"`
+ Extractor string `json:"extractor"`
+ ExtractorKey string `json:"extractor_key"`
+ Ext string `json:"ext"`
+ Protocol string `json:"protocol"`
+ HTTPHeaders map[string]string `json:"http_headers"`
}
func NewYoutubeDLInfoFromJSON(data io.Reader) (res *YoutubeDLInfo, err error) {