Remove slash from the end of URL

This commit is contained in:
NoPlagiarism
2023-07-15 15:32:49 +05:00
committed by NoPlagiarism
parent 73866f1619
commit a9fca270ab
+1 -1
View File
@@ -31,7 +31,7 @@ session.mount('http://', http_adapter) # Just to be sure
def from_tuple_to_instance_json(data: tuple) -> dict: # data in the same order, as in regex
res = {
'country': data[3],
'link': data[1],
'link': data[1].rstrip("/"),
'cloudflare': data[2] == 'Yes',
'host': data[4],
'branch': data[5]