diff options
author | Remita Amine <[email protected]> | 2020-11-18 00:41:07 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2020-11-18 00:41:07 +0100 |
commit | 5c3f7014efe75ae4c4e1c8aa18a062b8442c917a (patch) | |
tree | 235852b4f232088e5961c36ed8f13f038dc352c4 /youtube_dl/extractor/lbry.py | |
parent | d65628ef037c5c927cf2990d91f30cc222724171 (diff) | |
download | youtube-dl-5c3f7014efe75ae4c4e1c8aa18a062b8442c917a.tar.gz youtube-dl-5c3f7014efe75ae4c4e1c8aa18a062b8442c917a.zip |
[lbry] add support for odysee.com domain(closes #26806)
Diffstat (limited to 'youtube_dl/extractor/lbry.py')
-rw-r--r-- | youtube_dl/extractor/lbry.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/lbry.py b/youtube_dl/extractor/lbry.py index 587deac90..0a7ee919c 100644 --- a/youtube_dl/extractor/lbry.py +++ b/youtube_dl/extractor/lbry.py @@ -16,7 +16,7 @@ from ..utils import ( class LBRYIE(InfoExtractor): IE_NAME = 'lbry.tv' - _VALID_URL = r'https?://(?:www\.)?lbry\.tv/(?P<id>@[0-9a-zA-Z-]+:[0-9a-z]+/[0-9a-zA-Z().-]+:[0-9a-z])' + _VALID_URL = r'https?://(?:www\.)?(?:lbry\.tv|odysee\.com)/(?P<id>@[0-9a-zA-Z-]+:[0-9a-z]+/[0-9a-zA-Z().-]+:[0-9a-z])' _TESTS = [{ # Video 'url': 'https://lbry.tv/@Mantega:1/First-day-LBRY:1', @@ -41,6 +41,9 @@ class LBRYIE(InfoExtractor): 'timestamp': 1591312601, 'upload_date': '20200604', } + }, { + 'url': 'https://odysee.com/@BrodieRobertson:5/apple-is-tracking-everything-you-do-on:e', + 'only_matching': True, }] def _call_api_proxy(self, method, display_id, params): |