1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[aparat] Fixed regex & tests

This commit is contained in:
Bayan 2020-08-17 09:37:09 +04:30
parent 98c13ec598
commit 7743107935

View File

@ -11,10 +11,10 @@ from ..utils import (
class AparatIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?aparat\.com/(?:v/|video/video/embed/videohash/)(?P<id>[a-zA-Z0-9]+)/vt/frame'
_VALID_URL = r'https?://(?:www\.)?aparat\.com/(?:v/|video/video/embed/videohash/)(?P<id>[a-zA-Z0-9]+/|vt/frame)'
_TESTS = [{
'url': 'http://www.aparat.com/v/wP8On',
'url': 'http://www.aparat.com/v/wP8On/',
'md5': '131aca2e14fe7c4dcb3c4877ba300c89',
'info_dict': {
'id': 'wP8On',