[aparat] Fixed regex & tests

This commit is contained in:
Bayan 2020-08-17 09:37:09 +04:30
parent 98c13ec598
commit 7743107935
1 changed files with 2 additions and 2 deletions

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',