fds
This commit is contained in:
parent
3028ef5046
commit
286bf0aaf0
1 changed files with 0 additions and 1 deletions
|
@ -160,7 +160,6 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
||||||
if "https://youtube.com/watch?v=" in sanitized: sanitized = sanitized.replace("?t=", "&t=")
|
if "https://youtube.com/watch?v=" in sanitized: sanitized = sanitized.replace("?t=", "&t=")
|
||||||
|
|
||||||
captured = []
|
captured = []
|
||||||
print(sanitized,flush=True)
|
|
||||||
for i in youtube_regex.finditer(sanitized):
|
for i in youtube_regex.finditer(sanitized):
|
||||||
if i.group(0) in captured: continue
|
if i.group(0) in captured: continue
|
||||||
captured.append(i.group(0))
|
captured.append(i.group(0))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue