def main(cb, args):
username = args.get("username")
password = args.get("password")
output = args.get("output")
extensions = args.get("extensions").split(",")
listener = ExtensionFileWatcherAndGrabber(args.get('server_url'), cb, username, password, extensions, output)
try:
print "Extension File Watcher and Grabber -- started. Watching for:", extensions
listener.process()
except KeyboardInterrupt:
print >> sys.stderr, "Caught Ctrl-C"
listener.stop()
print "Extension File Watcher and Grabber -- stopped."
download_all_files_with_extension.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录