mirror of
https://github.com/simon987/opendirectories-bot-2.git
synced 2025-04-20 02:26:42 +00:00
Made paths even more truncated
This commit is contained in:
parent
d1877ea247
commit
fae9d8e82e
@ -112,7 +112,7 @@ class OdDatabase:
|
|||||||
hl_path = format_highlight(hit["highlight"]["path"][0])
|
hl_path = format_highlight(hit["highlight"]["path"][0])
|
||||||
else:
|
else:
|
||||||
hl_path = src["path"]
|
hl_path = src["path"]
|
||||||
hl_path = truncate_path(hl_path, 65)
|
hl_path = truncate_path(hl_path, 35)
|
||||||
hl_path += "/" if hl_path else ""
|
hl_path += "/" if hl_path else ""
|
||||||
|
|
||||||
message += "[" + src["website_url"] + "](https://od-db.the-eye.eu/website/" + str(src["website_id"]) + "/)" + hl_path
|
message += "[" + src["website_url"] + "](https://od-db.the-eye.eu/website/" + str(src["website_id"]) + "/)" + hl_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user