Repository: yt-dlp/yt-dlp

Issue:
Rumble /c/ --playlist-items with --print broken as of today, /user/ still works fine
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

USA

### Provide a description that is worded well enough to be understood

As of this morning, `--playlist-items` no longer works with a rumble `/c/` page, however it still works as expected with a rumble `/user/` page.

The flag `--playlist-items` is ignored on a rumble `/c/` page, yt-dlp instead tries to grab ALL pages instead of just `--pring`ing the output.

The previous behavior (shown on the `/user/` url output below) is correct.

I expect to see my `--print`ed output like this:

```
1702584000|||v3ympvh|||3:14:08|||Episode 19 - SILENCED with Tommy Robinson - Liam Tuffs|||https://ak2.rmbl.ws/s8/1/e/s/F/I/esFIo.qR4e-small-Episode-19-SILENCED-with-To.jpg
1702483062|||v3ygqq2|||5:14|||MY DAD FED ME DRUGS|||https://ak2.rmbl.ws/s8/1/V/n/B/H/VnBHo.qR4e-small-MY-DAD-FED-ME-DRUGS.jpg
1702308441|||v3y54oy|||9:15|||MY GREATEST ACHIEVEMENT IS GETTING MY DAD LOCKED UP|||https://ak2.rmbl.ws/s8/1/2/8/w/F/28wFo.qR4e-small-MY-GREATEST-ACHIEVEMENT-IS-.jpg
```

... but instead yt-dlp is ignoring the `--playlist-items` flag and getting every page:

```
[RumbleChannel] TheAlexJonesShow: Downloading page 1
[RumbleChannel] TheAlexJonesShow: Downloading page 2
[RumbleChannel] TheAlexJonesShow: Downloading page 3
```

Here are two urls demonstrating, the first is broken, the second still works as expected:

```
1. Rumble /c/ url (newly broken)

./yt-dlp-2023-11-16 -vU  --simulate  --no-warnings  --ignore-errors  --socket-timeout 3
  --print "%(timestamp)s|||%(id)s|||%(duration_string)s|||%(title)s|||%(thumbnail)s"
  --playlist-items 1:3  https://rumble.com/c/TheAlexJonesShow/videos
```

```
2. Rumble /user/ url (still works)

./yt-dlp-2023-11-16 -vU  --simulate  --no-warnings  --ignore-errors  --socket-timeout 3
  --print "%(timestamp)s|||%(id)s|||%(duration_string)s|||%(title)s|||%(thumbnail)s"
  --playlist-items 1:3  https://rumble.com/user/TommyRobinsonOfficial
```

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
# Output 1 from Rumble /c/ url (newly broken):

[debug] Command-line config: ['-vU', '--simulate', '--no-warnings', '--ignore-errors', '--socket-timeout', '3', '--print', '%(timestamp)s|||%(id)s|||%(duration_string)s|||%(title)s|||%(thumbnail)s', '--playlist-items', '1:3', 'https://rumble.com/c/TheAlexJonesShow/videos']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (zip)
[debug] Python 3.11.4 (CPython x86_64 64bit) - Linux-4.19.0-18-amd64-x86_64-with-glibc2.28 (OpenSSL 1.1.1d  10 Sep 2019, glibc 2.28)
[debug] exe versions: none
[debug] Optional libraries: sqlite3-3.27.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
[RumbleChannel] Extracting URL: https://rumble.com/c/TheAlexJonesShow/videos
[download] Downloading playlist: TheAlexJonesShow
[RumbleChannel] TheAlexJonesShow: Downloading page 1
[RumbleChannel] TheAlexJonesShow: Downloading page 2
[RumbleChannel] TheAlexJonesShow: Downloading page 3
[RumbleChannel] TheAlexJonesShow: Downloading page 4
[RumbleChannel] TheAlexJonesShow: Downloading page 5
[RumbleChannel] TheAlexJonesShow: Downloading page 6

# Output 2 from Rumble /user/ url (still works):

[debug] Command-line config: ['-vU', '--simulate', '--no-warnings', '--ignore-errors', '--socket-timeout', '3', '--print', '%(timestamp)s|||%(id)s|||%(duration_string)s|||%(title)s|||%(thumbnail)s', '--playlist-items', '1:3', 'https://rumble.com/user/TommyRobinsonOfficial']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (zip)
[debug] Python 3.11.4 (CPython x86_64 64bit) - Linux-4.19.0-18-amd64-x86_64-with-glibc2.28 (OpenSSL 1.1.1d  10 Sep 2019, glibc 2.28)
[debug] exe versions: none
[debug] Optional libraries: sqlite3-3.27.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
[RumbleChannel] Extracting URL: https://rumble.com/user/TommyRobinsonOfficial
[download] Downloading playlist: TommyRobinsonOfficial
[RumbleChannel] TommyRobinsonOfficial: Downloading page 1
[RumbleChannel] Playlist TommyRobinsonOfficial: Downloading 3 items
[download] Downloading item 1 of 3
[Rumble] Extracting URL: https://rumble.com/v4183gk-episode-19-silenced-with-tommy-robinson-liam-tuffs.html
[Rumble] v4183gk-episode-19-silenced-with-tommy-robinson-liam-tuffs.html: Downloading webpage
[RumbleEmbed] Extracting URL: https://rumble.com/embed/v3ympvh
[RumbleEmbed] v3ympvh: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] v3ympvh: Downloading 1 format(s): mp4-1080p
1702584000|||v3ympvh|||3:14:08|||Episode 19 - SILENCED with Tommy Robinson - Liam Tuffs|||https://ak2.rmbl.ws/s8/1/e/s/F/I/esFIo.qR4e-small-Episode-19-SILENCED-with-To.jpg
[download] Downloading item 2 of 3
[Rumble] Extracting URL: https://rumble.com/v4124bz-my-dad-fed-me-drugs.html
[Rumble] v4124bz-my-dad-fed-me-drugs.html: Downloading webpage
[RumbleEmbed] Extracting URL: https://rumble.com/embed/v3ygqq2
[RumbleEmbed] v3ygqq2: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] v3ygqq2: Downloading 1 format(s): mp4-1080p
1702483062|||v3ygqq2|||5:14|||MY DAD FED ME DRUGS|||https://ak2.rmbl.ws/s8/1/V/n/B/H/VnBHo.qR4e-small-MY-DAD-FED-ME-DRUGS.jpg
[download] Downloading item 3 of 3
[Rumble] Extracting URL: https://rumble.com/v40qiba-my-greatest-achievement-is-getting-my-dad-locked-up.html
[Rumble] v40qiba-my-greatest-achievement-is-getting-my-dad-locked-up.html: Downloading webpage
[RumbleEmbed] Extracting URL: https://rumble.com/embed/v3y54oy
[RumbleEmbed] v3y54oy: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] v3y54oy: Downloading 1 format(s): mp4-1080p
1702308441|||v3y54oy|||9:15|||MY GREATEST ACHIEVEMENT IS GETTING MY DAD LOCKED UP|||https://ak2.rmbl.ws/s8/1/2/8/w/F/28wFo.qR4e-small-MY-GREATEST-ACHIEVEMENT-IS-.jpg
[download] Finished downloading playlist: TommyRobinsonOfficial
```



Discussion:
It looks like parts of the log are cut off
There are two logs there showing two urls, the first one that is broken (the rumble `/c/` path), and one that works fine (the rumble `/user/` path). In both cases, the tail of the output shows the broken functionality. To wait for the first command to finish would have taken over 2 hours.
The first line of each log is missing
My apologies, fixed above, along with some better wording of the original post.
I noticed the same problem and did some digging: It would appear that rumble made some changes to the site.
Replacing the Regex `class=video-item--a\s?href=([^>]+\.html)` with `class=video-item--a\s?href=([^>]+\.html)|class="title__link link"\shref="([^>]+\.html)` in [rumble.py on line 386](https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/rumble.py#L386) fixed the problem.

Tested with a /c/ URL:
![Tested with a /c/ URL](https://github.com/yt-dlp/yt-dlp/assets/154515058/2b1512a2-9833-4a6e-b734-fa6b3fd47e13)

Tested with a /user/ URL:
![Tested with a /user/ URL](https://github.com/yt-dlp/yt-dlp/assets/154515058/6ad00235-3279-466b-88b3-f26e72a2c72f)


@Pranaxcau Nice work, thanks.

Resolving patch:
diff --git a/yt_dlp/extractor/rumble.py b/yt_dlp/extractor/rumble.py
--- a/yt_dlp/extractor/rumble.py
+++ b/yt_dlp/extractor/rumble.py
@@ -383,7 +383,7 @@ def entries(self, url, playlist_id):
                 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):


Test patch: