aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/lbry.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-10-23 21:27:26 +0000
committerGitHub <noreply@github.com>2024-10-23 21:27:26 +0000
commitc998238c2e76c62d1d29962c6e8ebe916cc7913b (patch)
tree2ca6da27b838d1c249f82f09642d3ce94b674aad /yt_dlp/extractor/lbry.py
parentd784464399b600ba9516bbcec6286f11d68974dd (diff)
[cleanup] Misc (#11328)
Closes #11307 Authored by: bashonly, KBelmin Co-authored-by: Belminho <102482175+KBelmin@users.noreply.github.com>
Diffstat (limited to 'yt_dlp/extractor/lbry.py')
-rw-r--r--yt_dlp/extractor/lbry.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/extractor/lbry.py b/yt_dlp/extractor/lbry.py
index c764d4961..322852dd6 100644
--- a/yt_dlp/extractor/lbry.py
+++ b/yt_dlp/extractor/lbry.py
@@ -136,6 +136,7 @@ class LBRYBaseIE(InfoExtractor):
class LBRYIE(LBRYBaseIE):
IE_NAME = 'lbry'
+ IE_DESC = 'odysee.com'
_VALID_URL = LBRYBaseIE._BASE_URL_REGEX + rf'''
(?:\$/(?:download|embed)/)?
(?P<id>
@@ -364,6 +365,7 @@ class LBRYIE(LBRYBaseIE):
class LBRYChannelIE(LBRYBaseIE):
IE_NAME = 'lbry:channel'
+ IE_DESC = 'odysee.com channels'
_VALID_URL = LBRYBaseIE._BASE_URL_REGEX + rf'(?P<id>@{LBRYBaseIE._OPT_CLAIM_ID})/?(?:[?&]|$)'
_TESTS = [{
'url': 'https://lbry.tv/@LBRYFoundation:0',
@@ -391,6 +393,7 @@ class LBRYChannelIE(LBRYBaseIE):
class LBRYPlaylistIE(LBRYBaseIE):
IE_NAME = 'lbry:playlist'
+ IE_DESC = 'odysee.com playlists'
_VALID_URL = LBRYBaseIE._BASE_URL_REGEX + r'\$/(?:play)?list/(?P<id>[0-9a-f-]+)'
_TESTS = [{
'url': 'https://odysee.com/$/playlist/ffef782f27486f0ac138bde8777f72ebdd0548c2',