aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlorpus <ligma@poggers.me>2020-11-27 00:23:13 -0500
committerlorpus <ligma@poggers.me>2020-11-27 00:23:13 -0500
commitae7c01431db6853bf39600d8d862806511fe4f36 (patch)
tree7cc7355fd53b84e767e26d5a7a4a564b958fc328
parentd9c2b0a6de70a0bd610332202467eceb97bf1285 (diff)
downloadhypervideo-pre-ae7c01431db6853bf39600d8d862806511fe4f36.tar.lz
hypervideo-pre-ae7c01431db6853bf39600d8d862806511fe4f36.tar.xz
hypervideo-pre-ae7c01431db6853bf39600d8d862806511fe4f36.zip
[bitwave.tv] add test
-rw-r--r--youtube_dlc/extractor/bitwave.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/bitwave.py b/youtube_dlc/extractor/bitwave.py
index 9aa210510..eb16c469d 100644
--- a/youtube_dlc/extractor/bitwave.py
+++ b/youtube_dlc/extractor/bitwave.py
@@ -6,6 +6,10 @@ from .common import InfoExtractor
class BitwaveReplayIE(InfoExtractor):
IE_NAME = 'bitwave:replay'
_VALID_URL = r'https?://(?:www\.)?bitwave\.tv/(?P<user>\w+)/replay/(?P<id>\w+)/?$'
+ _TEST = {
+ 'url': 'https://bitwave.tv/RhythmicCarnage/replay/z4P6eq5L7WDrM85UCrVr',
+ 'only_matching': True
+ }
def _real_extract(self, url):
replay_id = self._match_id(url)
@@ -29,6 +33,10 @@ class BitwaveReplayIE(InfoExtractor):
class BitwaveStreamIE(InfoExtractor):
IE_NAME = 'bitwave:stream'
_VALID_URL = r'https?://(?:www\.)?bitwave\.tv/(?P<id>\w+)/?$'
+ _TEST = {
+ 'url': 'https://bitwave.tv/doomtube',
+ 'only_matching': True
+ }
def _real_extract(self, url):
username = self._match_id(url)