|
|
@ -101,6 +101,8 @@ while len(todo) > 0: |
|
|
|
except OSError: |
|
|
|
pass |
|
|
|
|
|
|
|
try: |
|
|
|
|
|
|
|
# _ |
|
|
|
# _ __ ___ ___| |_ __ _ |
|
|
|
# | '_ ` _ \ / _ \ __/ _` | |
|
|
@ -184,6 +186,7 @@ while len(todo) > 0: |
|
|
|
for l in links: |
|
|
|
if l not in todo and l not in done: |
|
|
|
if l.startswith("http://") or l.startswith("https://"): |
|
|
|
if args.verbose: |
|
|
|
print ("Ignoring absolute URL in [[ link ]] form", file=sys.stderr) |
|
|
|
continue |
|
|
|
# if args.verbose: |
|
|
@ -269,3 +272,5 @@ while len(todo) > 0: |
|
|
|
count += 1 |
|
|
|
if args.limit and count >= args.limit: |
|
|
|
break |
|
|
|
except TypeError: |
|
|
|
print ("ERROR, skipping!", file=sys.stderr) |