Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
Fix YouTube URL pattern formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
realshouzy committed Jun 30, 2024
1 parent 4e29ded commit 79f69e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YTDownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_downloader(url: str) -> YouTubeDownloader:
return VideoDownloader(url)
raise pytube.exceptions.RegexMatchError(
get_downloader.__name__,
"_YOUTUBE_PLAYLIST_URL_PATTERN | _YOUTUBE_VIDEO_URL_PATTERN",
f"({_YOUTUBE_PLAYLIST_URL_PATTERN.pattern}) | ({_YOUTUBE_VIDEO_URL_PATTERN.pattern})",
)


Expand Down

0 comments on commit 79f69e1

Please sign in to comment.