mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-30 16:46:09 +00:00
[lbry] add support for odysee.com domain(closes #26806)
This commit is contained in:
parent
d65628ef03
commit
5c3f7014ef
@ -16,7 +16,7 @@ from ..utils import (
|
|||||||
|
|
||||||
class LBRYIE(InfoExtractor):
|
class LBRYIE(InfoExtractor):
|
||||||
IE_NAME = 'lbry.tv'
|
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 = [{
|
_TESTS = [{
|
||||||
# Video
|
# Video
|
||||||
'url': 'https://lbry.tv/@Mantega:1/First-day-LBRY:1',
|
'url': 'https://lbry.tv/@Mantega:1/First-day-LBRY:1',
|
||||||
@ -41,6 +41,9 @@ class LBRYIE(InfoExtractor):
|
|||||||
'timestamp': 1591312601,
|
'timestamp': 1591312601,
|
||||||
'upload_date': '20200604',
|
'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):
|
def _call_api_proxy(self, method, display_id, params):
|
||||||
|
Loading…
Reference in New Issue
Block a user