mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 05:22:57 +01:00
16 lines
402 B
Python
16 lines
402 B
Python
|
import urllib.request
|
||
|
import time
|
||
|
|
||
|
for run in range(500):
|
||
|
contents = urllib.request.urlopen("http://localhost:6500/api/posts/getall").read()
|
||
|
print(contents[-50:])
|
||
|
|
||
|
|
||
|
#for run in range(50):
|
||
|
# contents = urllib.request.urlopen("http://localhost:6500/api/posts/getallWithSieve?filters=IsNew&sorts=popularity").read()
|
||
|
# print(contents[-50:])
|
||
|
# time.sleep(1)
|
||
|
|
||
|
print("done baseline")
|
||
|
input()
|