Commit 086fbb1e authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Fix limit bug

parent 80a8f6bc
......@@ -421,7 +421,7 @@ async def main():
else:
break
# Control when we want to stop scraping.
if arg.limit is not None and num <= int(arg.limit):
if arg.limit is not None and num >= int(arg.limit):
break
if arg.database:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment