[bitchute] Fix test (#758)

Authored by: mahanstreamer
This commit is contained in:
mahanstreamer 2021-08-22 15:58:23 -04:00 committed by GitHub
parent 3fb4e21b38
commit aca5774e68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,16 +17,16 @@ from ..utils import (
class BitChuteIE(InfoExtractor): class BitChuteIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?bitchute\.com/(?:video|embed|torrent/[^/]+)/(?P<id>[^/?#&]+)' _VALID_URL = r'https?://(?:www\.)?bitchute\.com/(?:video|embed|torrent/[^/]+)/(?P<id>[^/?#&]+)'
_TESTS = [{ _TESTS = [{
'url': 'https://www.bitchute.com/video/szoMrox2JEI/', 'url': 'https://www.bitchute.com/video/UGlrF9o9b-Q/',
'md5': '66c4a70e6bfc40dcb6be3eb1d74939eb', 'md5': '7e427d7ed7af5a75b5855705ec750e2b',
'info_dict': { 'info_dict': {
'id': 'szoMrox2JEI', 'id': 'szoMrox2JEI',
'ext': 'mp4', 'ext': 'mp4',
'title': 'Fuck bitches get money', 'title': 'This is the first video on #BitChute !',
'description': 'md5:3f21f6fb5b1d17c3dee9cf6b5fe60b3a', 'description': 'md5:a0337e7b1fe39e32336974af8173a034',
'thumbnail': r're:^https?://.*\.jpg$', 'thumbnail': r're:^https?://.*\.jpg$',
'uploader': 'Victoria X Rave', 'uploader': 'BitChute',
'upload_date': '20170813', 'upload_date': '20170103',
}, },
}, { }, {
'url': 'https://www.bitchute.com/embed/lbb5G1hjPhw/', 'url': 'https://www.bitchute.com/embed/lbb5G1hjPhw/',