we have fixed the date stamp now
This commit is contained in:
+8
-3
@@ -24,7 +24,12 @@ ignore_tags = [
|
||||
"XLastScheduled", "EAN/UPC", "Comment", "Record Date", "XEndDate", "XRestrictions"
|
||||
]
|
||||
|
||||
query_params = {}
|
||||
host = 'http://localhost:8082'
|
||||
# host = 'https://tracks.intergalactic.fm'
|
||||
|
||||
query_params = {
|
||||
# "secret": "secret"
|
||||
}
|
||||
|
||||
if len(sys.argv) <= 1:
|
||||
sys.exit("no argument passed")
|
||||
@@ -60,7 +65,7 @@ for item in ape.tag.frames:
|
||||
# print(Y,M,D,h,m,s)
|
||||
|
||||
time_list.append("{}:{}:{}".format(h, m, s))
|
||||
date_list.append("{}/{}/{}".format(M, D, Y))
|
||||
date_list.append("{}-{}-{}".format(Y, M, D))
|
||||
elif key == "Other":
|
||||
query_params["country"] = value.decode()
|
||||
elif key == "Year":
|
||||
@@ -88,7 +93,7 @@ while i < len(time_list):
|
||||
# print(query_params)
|
||||
|
||||
response = requests.get(
|
||||
'http://localhost:8082/spl/1',
|
||||
'{}/spl/1'.format(host),
|
||||
params=query_params
|
||||
)
|
||||
# print(response)
|
||||
|
||||
Reference in New Issue
Block a user