1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-10-04 16:37:09 +02:00

[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -383,7 +383,7 @@ def entries(self, url, playlist_id):
if isinstance(e.cause, HTTPError) and e.cause.status == 404: if isinstance(e.cause, HTTPError) and e.cause.status == 404:
break break
raise 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) yield self.url_result('https://rumble.com' + video_url)
def _real_extract(self, url): def _real_extract(self, url):