forked from rDrama/rDrama
don't embed comments as posts
parent
e3ca369392
commit
a7c49ca69a
|
@ -800,7 +800,7 @@ def submit_post(v, sub=None):
|
||||||
except: pass
|
except: pass
|
||||||
embed += '"></lite-youtube>'
|
embed += '"></lite-youtube>'
|
||||||
|
|
||||||
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]
|
id = url.split("/post/")[1]
|
||||||
if "/" in id: id = id.split("/")[0]
|
if "/" in id: id = id.split("/")[0]
|
||||||
embed = str(int(id))
|
embed = str(int(id))
|
||||||
|
|
Loading…
Reference in New Issue