parsers/youtube: Fix information for channels.

develop
Icedream 2016-07-05 16:13:03 +02:00
parent 0eb16f9975
commit b61927108b
1 changed files with 1 additions and 2 deletions

View File

@ -208,8 +208,7 @@ func (p *Parser) Parse(u *url.URL, referer *url.URL) (result parsers.ParseResult
r := map[string]interface{}{ r := map[string]interface{}{
"Header": header, "Header": header,
"IsProfile": true, "IsProfile": true,
"Title": "Channel", "Name": item.Snippet.Title,
"Author": item.Snippet.Title,
"CountryCode": item.Snippet.Country, "CountryCode": item.Snippet.Country,
"Description": item.Snippet.Description, "Description": item.Snippet.Description,
"ShortUrl": item.Snippet.CustomUrl, "ShortUrl": item.Snippet.CustomUrl,