update youtube download lib
drop sync server dependency
This commit is contained in:
parent
a486ab6080
commit
3493a42216
2 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ func (s *SyncManager) fetchChannels(status string) ([]apiYoutubeChannel, error)
|
|||
"min_videos": {strconv.Itoa(1)},
|
||||
"after": {strconv.Itoa(int(s.SyncFrom))},
|
||||
"before": {strconv.Itoa(int(s.SyncUntil))},
|
||||
//"sync_server": {s.HostName},
|
||||
"sync_server": {s.HostName},
|
||||
"channel_id": {s.YoutubeChannelID},
|
||||
})
|
||||
defer res.Body.Close()
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
"github.com/lbryio/lbry.go/errors"
|
||||
"github.com/lbryio/lbry.go/jsonrpc"
|
||||
|
||||
"github.com/nikooo777/ytdl"
|
||||
"github.com/rylio/ytdl"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"google.golang.org/api/youtube/v3"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue