1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

Fixed regex

This commit is contained in:
Parth Verma 2018-05-17 12:55:23 +05:30
parent fdb1961a17
commit 2c08d2756c

View File

@ -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-f]{8}-[0-9|a-f]{4}-[0-9|a-f]{4}-[0-9|a-f]{4}-[0-9|a-f]{12})'
_VALID_URL = r'(?:https?:)//peertube\.touhoppai\.moe\/videos\/watch\/(?P<id>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})'
_TEST = {
'url': 'https://peertube.touhoppai.moe/videos/watch/7f3421ae-6161-4a4a-ae38-d167aec51683',
'md5': 'a5e1e4a978e6b789553198d1739f5643',