Fixed regex for valid url capture group
This commit is contained in:
parent
45c7e97d6e
commit
06ad3fee3a
@ -9,7 +9,7 @@ from .common import InfoExtractor
|
||||
class PeertubeIE(InfoExtractor):
|
||||
IE_DESC = 'Peertube Videos'
|
||||
IE_NAME = 'Peertube'
|
||||
_VALID_URL = r'https?:\/\/peertube\.touhoppai\.moe\/videos\/watch\/(?P<id>[0-9|\-|a-z]+)'
|
||||
_VALID_URL = r'https?:\/\/peertube\.touhoppai\.moe\/videos\/watch\/(?P<id>[0-9|a-z]{8}-[0-9|a-z]{4}-[0-9|a-z]{4}-[0-9|a-z]{4}-[0-9|a-z]{12})'
|
||||
_TEST = {
|
||||
'url': 'https://peertube.touhoppai.moe/videos/watch/7f3421ae-6161-4a4a-ae38-d167aec51683',
|
||||
'md5': 'a5e1e4a978e6b789553198d1739f5643',
|
||||
|
Loading…
x
Reference in New Issue
Block a user