ref: f020d61392c970f1e3661d4342cbda0a7466f00a
parent: 119516fa88ef2d320d8e4ef12e0af257747f8a82
author: halfwit <michaelmisch1985@gmail.com>
date: Fri Feb 1 16:18:37 PST 2019
Just use full URLs instead of short forgeneralized use cases
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
# ytcli - POSIX sh
+
## Installation:
just include in your path.
@@ -38,7 +39,7 @@
# List of videos by user
ytcli -u <user name>
-# List of playlits by user
+# List of playlists by user
ytcli -u -p <user name>
# List of videos by channel
@@ -58,4 +59,6 @@
-t
```
+
+# API Keys
--- a/call.go
+++ b/call.go
@@ -9,7 +9,7 @@
"google.golang.org/api/youtube/v3"
)
-var yt = "https://youtu.be/"
+var yt = "https://www.youtube.com/watch?v="
func playlistSearch(query string, service *youtube.Service) map[string]string {
results := make(map[string]string)