Refine
This commit is contained in:
@@ -9,11 +9,11 @@ def query_all_records_by_date_with_type(date: str):
|
||||
try:
|
||||
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydatewithtype/?querydate={date}&querytype=node')
|
||||
html = response.read().decode('utf-8')
|
||||
print(html)
|
||||
#print(html)
|
||||
|
||||
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydatewithtype/?querydate={date}&querytype=link')
|
||||
html = response.read().decode('utf-8')
|
||||
print(html)
|
||||
#print(html)
|
||||
except urllib.error.URLError as e:
|
||||
print("Error")
|
||||
|
||||
@@ -21,11 +21,11 @@ def queryallrecordsbydateproperty(date: str):
|
||||
try:
|
||||
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydateproperty/?querydate={date}&querytype=node&property=head')
|
||||
html = response.read().decode('utf-8')
|
||||
print(html)
|
||||
#print(html)
|
||||
|
||||
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydateproperty/?querydate={date}&querytype=link&property=flow')
|
||||
html = response.read().decode('utf-8')
|
||||
print(html)
|
||||
#print(html)
|
||||
|
||||
except urllib.error.URLError as e:
|
||||
print("Error")
|
||||
@@ -34,7 +34,7 @@ def queryallscadarecordsbydate(date: str):
|
||||
try:
|
||||
response = urllib.request.urlopen(f'http://localhost/queryallscadarecordsbydate/?querydate={date}')
|
||||
html = response.read().decode('utf-8')
|
||||
print(html)
|
||||
#print(html)
|
||||
except urllib.error.URLError as e:
|
||||
print("Error")
|
||||
|
||||
@@ -42,7 +42,7 @@ def queryallschemeallrecords(date: str):
|
||||
try:
|
||||
response = urllib.request.urlopen(f'http://localhost/queryallschemeallrecords/?schemetype=burst_Analysis&schemename=testSchema&querydate={date}')
|
||||
html = response.read().decode('utf-8')
|
||||
print(html)
|
||||
#print(html)
|
||||
except urllib.error.URLError as e:
|
||||
print("Error")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user