mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 21:42:38 +01:00
428acd7558
* Update sample project to dotnetcore3.1 * Use Sqlite in sample project to run it everywhere * Fix: Filter with escaped comma * Fix: Filter "null" does not work with Contains or StartsWith * Code cleanup: Adjust namespaces, adjust usings
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()
|