[lbry] relax _VALID_URL regex(closes #27144)
parent
9d531aa291
commit
cb6e24f946
|
@ -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|odysee\.com)/(?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-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',
|
||||||
|
@ -44,6 +44,9 @@ class LBRYIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://odysee.com/@BrodieRobertson:5/apple-is-tracking-everything-you-do-on:e',
|
'url': 'https://odysee.com/@BrodieRobertson:5/apple-is-tracking-everything-you-do-on:e',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': "https://odysee.com/@ScammerRevolts:b0/I-SYSKEY'D-THE-SAME-SCAMMERS-3-TIMES!:b",
|
||||||
|
'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