Commit 9762169a authored by Boudy's avatar Boudy

La macro YouTube supporte aussi le https

parent 4135a170
......@@ -11,7 +11,7 @@
"""
def execute(macro, text):
if text.find('http://')> -1:
if text.find('http://')> -1 or text.find('https://')>-1:
try:
text = text.split('v=')[1]
except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment