diff --git a/test.py b/test.py new file mode 100644 index 0000000..1e0ef9d --- /dev/null +++ b/test.py @@ -0,0 +1,21 @@ +import webqueue2api +import webqueue2api.parser +#import webqueue2api.parser.queue as queueueu +import json +import os + +if __name__ == "__main__": + webqueue2api.parser.config.queues_to_ignore = ["archives", "drafts", "inbox", "coral", "linux"] + queues = webqueue2api.load_queues() + #if "linux" not in queues: print("No linux") + for queue in queues: + for item in queue.items: + os.system('cls||clear') + item = webqueue2api.parser.Item(item.queue, item.number, False) + print(item.queue + str(item.number)) + print(json.dumps(item.content, indent=2)) + input() + + print(queues) + #for queue in queues: + #json.dumps(webqueue2api.Item("ce", 7).content, indent=2) \ No newline at end of file