[ie/RumbleChannel] Fix extractor (#9092)

Closes #8782
Authored by: vista-narvas, Pranaxcau
This commit is contained in:
vista-narvas
2024-01-28 16:32:19 +01:00
committed by GitHub
parent cae6e46107
commit 0023af81fb

View File

@@ -383,7 +383,7 @@ class RumbleChannelIE(InfoExtractor):
if isinstance(e.cause, HTTPError) and e.cause.status == 404:
break
raise
for video_url in re.findall(r'class=video-item--a\s?href=([^>]+\.html)', webpage):
for video_url in re.findall(r'class="[^>"]*videostream__link[^>]+href="([^"]+\.html)"', webpage):
yield self.url_result('https://rumble.com' + video_url)
def _real_extract(self, url):