hlfw.ca

ytcli

Download patch

ref: 7eb191e1181dbe03f7588fc16c4f00109b23397f
author: Halfwit <michaelmisch1985@gmail.com>
date: Fri Feb 16 12:01:01 PST 2018

Initial commit

--- /dev/null
+++ b/README.md
@@ -1,0 +1,30 @@
+# Small Script To Interact With Youtube
+
+## Usage
+
+ytcli [action]
+
+Actions:
+	search	<keywoard>
+		will return a list of URLs and descritions
+		using --thumbs will also return the path to a thumbnail (in /tmp)
+	user	<username>
+		will return a list of videos by user
+	channel	<channel name>
+		will return a list of videos by channel
+	channel-id <channel name>
+		will return channel id of given channel
+
+## Configuration
+
+ytcli assumes that you have an API token for using the v3 Youtube API
+
+Example: 
+
+```
+# Configuration .local/cfg/ytcli.conf
+# Lines starting with # will be ignored
+key=4TNSHS543tn5hNSTH54354
+max_results=50
+tmpdir=/tmp/yt
+```