aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/bitchute.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/extractor/bitchute.py')
-rw-r--r--youtube_dlc/extractor/bitchute.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/bitchute.py b/youtube_dlc/extractor/bitchute.py
index 92fc70b5a..94219a138 100644
--- a/youtube_dlc/extractor/bitchute.py
+++ b/youtube_dlc/extractor/bitchute.py
@@ -36,6 +36,14 @@ class BitChuteIE(InfoExtractor):
'only_matching': True,
}]
+ @staticmethod
+ def _extract_urls(webpage):
+ return [
+ mobj.group('url')
+ for mobj in re.finditer(
+ r'<(?:script|iframe)[^>]+\bsrc=(["\'])(?P<url>%s)' % BitChuteIE._VALID_URL,
+ webpage)]
+
def _real_extract(self, url):
video_id = self._match_id(url)