aboutsummaryrefslogtreecommitdiffstats
path: root/walker.py
diff options
context:
space:
mode:
Diffstat (limited to 'walker.py')
-rw-r--r--walker.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/walker.py b/walker.py
index f32a6e7..a3d7408 100644
--- a/walker.py
+++ b/walker.py
@@ -8,14 +8,10 @@ import sys
from binascii import unhexlify
parser = argparse.ArgumentParser()
-parser.add_argument('-cid', help='content id, &cid={...}. see url when reading a chapter')
+parser.add_argument('cid', help='content id, &cid={...}. see url when reading a chapter')
parser.add_argument('-v', '--verbose', help='no progressive download logs on terminal', action="store_true")
args = parser.parse_args()
-if args.cid == None:
- parser.print_help()
- sys.exit()
-
logging.basicConfig(format='[%(levelname)s] %(asctime)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=logging.INFO)
def start(url, headers):