From c4d9ffa0244b052bd1ca3efc06efd4b33f789fa8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 11 Jul 2015 00:41:20 -0400 Subject: [PATCH] fix up options and write simplified json --- README.md | 7 ++-- ytmnd.py | 104 ++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 86 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index f93f6ec..56ec993 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ ytmnd ytmnd scraper. -`python ./ytmnd.py [--media-only] [--no-web-audio] [--json] [-u username] [domain]` +`./ytmnd.py -u _username_` +`./ytmnd.py domain` serving ------- @@ -18,8 +19,10 @@ options | flag | description | | -------------- | ----------------------- | | `--media-only` | only download the gif and mp3 | +| `--html-only` | only write an html file| +| `--json-only` | writes simplified json to a file | | `--no-web-audio` | uses the