diff options
author | sepro <4618135+seproDev@users.noreply.github.com> | 2024-02-01 19:38:42 +0100 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-03-11 00:51:38 +0530 |
commit | a687226b48f71b874fa18b0165ec528d591f53fb (patch) | |
tree | 6c61191f3f9174fbece63418f5fa8f55ec23d679 /yt_dlp/extractor/beatbump.py | |
parent | 93240fc1848de4a94f25844c96e0dcd282ef1d3b (diff) |
[cleanup, ie] Match both `http` and `https` in `_VALID_URL` (#8968)
Except for Vimeo, since that causes matching collisions.
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/beatbump.py')
-rw-r--r-- | yt_dlp/extractor/beatbump.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/beatbump.py b/yt_dlp/extractor/beatbump.py index f48566b2d..777a1b326 100644 --- a/yt_dlp/extractor/beatbump.py +++ b/yt_dlp/extractor/beatbump.py @@ -3,7 +3,7 @@ from .youtube import YoutubeIE, YoutubeTabIE class BeatBumpVideoIE(InfoExtractor): - _VALID_URL = r'https://beatbump\.(?:ml|io)/listen\?id=(?P<id>[\w-]+)' + _VALID_URL = r'https?://beatbump\.(?:ml|io)/listen\?id=(?P<id>[\w-]+)' _TESTS = [{ 'url': 'https://beatbump.ml/listen?id=MgNrAu2pzNs', 'md5': '5ff3fff41d3935b9810a9731e485fe66', @@ -48,7 +48,7 @@ class BeatBumpVideoIE(InfoExtractor): class BeatBumpPlaylistIE(InfoExtractor): - _VALID_URL = r'https://beatbump\.(?:ml|io)/(?:release\?id=|artist/|playlist/)(?P<id>[\w-]+)' + _VALID_URL = r'https?://beatbump\.(?:ml|io)/(?:release\?id=|artist/|playlist/)(?P<id>[\w-]+)' _TESTS = [{ 'url': 'https://beatbump.ml/release?id=MPREb_gTAcphH99wE', 'playlist_count': 50, |