Skip to content

Commit aa51284

Browse files
authored
Update watch.py
1 parent 5c10bb1 commit aa51284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

week-7/watch/watch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def parse(s):
1919
this function take an youtube iframe like and return short version of link
2020
"""
2121

22-
# - user walrus -
22+
# - using walrus -
2323
# if src_link := re.search(r"^<iframe(?:.+)? src=\"(?:https?://)?(?:www\.)?youtube.com/embed/(\w+)\".?(?:.+)?></iframe>$", s):
2424
# return f"https://youtu.be/{src_link.group(1)}"
2525
# return None

0 commit comments

Comments
 (0)