1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-02-17 01:17:54 +01:00

change bitchute test to new video url (old url is 404)

This commit is contained in:
Mark 2020-02-28 18:54:58 -06:00
parent d6add6313d
commit 6dd76fed80

View File

@ -16,16 +16,17 @@ 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/mxzcCZI0RQ0k/',
'md5': '66c4a70e6bfc40dcb6be3eb1d74939eb', 'md5': '94e5c980ffdb450e72a8ed55f2e9280b',
'info_dict': { 'info_dict': {
'id': 'szoMrox2JEI', 'id': 'mxzcCZI0RQ0k',
'ext': 'mp4', 'ext': 'mp4',
'title': 'Fuck bitches get money', 'title': 'Some People are just Glitches in the Matrix',
'description': 'md5:3f21f6fb5b1d17c3dee9cf6b5fe60b3a', 'description': 'md5:46cc1f8670f6da35fec011bb1d1e548e',
'thumbnail': r're:^https?://.*\.jpg$', 'thumbnail': r're:^https?://.*\.jpg$',
'uploader': 'Victoria X Rave', 'uploader': 'stargods',
'upload_date': '20170813', 'upload_date': '20200218',
'timestamp': 1582066500,
}, },
}, { }, {
'url': 'https://www.bitchute.com/embed/lbb5G1hjPhw/', 'url': 'https://www.bitchute.com/embed/lbb5G1hjPhw/',