dirkf

Results 1641 comments of dirkf

Your Log shows a completely different URL (confirm unsupported) from the two in the Description, which look as if they would both work from a US location (`youtube_dl.utils.GeoRestrictedError: This content...

The URL pattern needs to be relaxed so that `.../shows/video/...` matches, as well as `.../shows/{show_name}/video/...`: ```py diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py index c79e55a75..3846d6916 100644 --- old/youtube_dl/extractor/cbs.py +++ new/youtube_dl/extractor/cbs.py @@ -1,3 +1,4...

The hydration JSON that the extractor parses has changed, and the video URL isn't obviously in the page fetched by yt-dl. Same issue for yt-dlp.

You could do the division yourself? Or ```diff --- old/youtube_dl/downloader/common.py +++ new/youtube_dl/downloader/common.py @@ -257,6 +257,13 @@ class FileDownloader(object): if s.get('elapsed') is not None: s['_elapsed_str'] = self.format_seconds(s['elapsed']) msg_template += ' in...

The code works for me. As it's a small change I don't mind merging it unless other users come along with a big thumbs-down. yt-dl shows the rate while downloading...

In OP's environment, just install the master branch: ``` python -m pip install 'https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz' ``` See https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.

[Off-topic](https://github.com/ytdl-org/youtube-dl/issues/30942#issuecomment-1126349461) for this issue as Twitch != XVideos. Opened #30945 instead.

[This dev branch](https://github.com/dirkf/youtube-dl/tree/df-xvideos-playlist-patch) needs to be pulled.

What did you expect this page to be, a single video or a playlist? yt-dl thinks it's a playlist (`ZDFChannelIE`) with 44 items, corresponding to the `data-plusbar-url` values in the...

Actually, the page does show which items are videos. The `` element that contains the `data-plusbar-url` attribute is enclosed in a link that contains a `data-target-video-type` attribute and a `data-target-id`...