We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f0e2ed commit 5e453dbCopy full SHA for 5e453db
1 file changed
scrape.py
@@ -4,6 +4,7 @@
4
from json import decoder
5
from os import path, mkdir, remove
6
from os.path import isfile
7
+from time import sleep
8
9
try:
10
from progress.bar import Bar
@@ -114,15 +115,22 @@ def main():
114
115
116
# start 60 second loop
117
status("Hibernating for 60 seconds...")
118
+ with Bar("Hibernating", max=60, fill=">", suffix="") as bar:
119
+ for i in range(60):
120
+ sleep(1)
121
+ bar.next()
122
+
123
+ bar.finish()
124
125
print()
- threading.Timer(60, main).start()
126
+ threading.Timer(0, main).start()
127
128
129
if __name__ == '__main__':
130
131
AUTHOR = "SYRAPT0R"
132
COPYRIGHT = "2019-2020"
- VERSION = "0.5.1"
133
+ VERSION = "0.5.2"
134
135
# parse arguments
136
keywords = None
0 commit comments