]> jfr.im git - yt-dlp.git/commitdiff
[bitchute] Fix test (#758)
authormahanstreamer <redacted>
Sun, 22 Aug 2021 19:58:23 +0000 (15:58 -0400)
committerGitHub <redacted>
Sun, 22 Aug 2021 19:58:23 +0000 (01:28 +0530)
Authored by: mahanstreamer

yt_dlp/extractor/bitchute.py

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