diff --git a/files/routes/posts.py b/files/routes/posts.py index 25f82e1bae..fa714b9e73 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -800,7 +800,7 @@ def submit_post(v, sub=None): except: pass embed += '">' - elif SITE in domain and "/post/" in url and "context" not in url: + elif SITE in domain and "/post/" in url and "context" not in url and url.count('/') < 6: id = url.split("/post/")[1] if "/" in id: id = id.split("/")[0] embed = str(int(id))