diff options
Diffstat (limited to 'yt_music/__yt_music__.py')
-rw-r--r-- | yt_music/__yt_music__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_music/__yt_music__.py b/yt_music/__yt_music__.py index c87a6fd..3f0d6ef 100644 --- a/yt_music/__yt_music__.py +++ b/yt_music/__yt_music__.py @@ -32,9 +32,9 @@ opts = [] def extract_video_id(video_title): - pattern = r' - (\w+)$' + match = re.search(r' - ([\w-]+)$', video_title) - match = re.search(pattern, video_title) + #match = re.search(pattern, video_title) if match: video_id = match.group(1) |