diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-22 03:47:41 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-22 03:47:41 +0530 |
commit | 998a3cae0ca2e2276ea02a3470c7e083feec96f5 (patch) | |
tree | 4f901516c8c3059c9c4ad87885712547ad50826b | |
parent | 471d0367c76e1413bb35e0be45765a277e469ee2 (diff) | |
download | hypervideo-pre-998a3cae0ca2e2276ea02a3470c7e083feec96f5.tar.lz hypervideo-pre-998a3cae0ca2e2276ea02a3470c7e083feec96f5.tar.xz hypervideo-pre-998a3cae0ca2e2276ea02a3470c7e083feec96f5.zip |
[cleanup] Misc fixes
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | yt_dlp/downloader/common.py | 2 | ||||
-rw-r--r-- | yt_dlp/downloader/fragment.py | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -302,8 +302,8 @@ While all the other dependencies are optional, `ffmpeg` and `ffprobe` are highly * [**avconv** and **avprobe**](https://www.libav.org) - Now **deprecated** alternative to ffmpeg. License [depends on the build](https://libav.org/legal) * [**sponskrub**](https://github.com/faissaloo/SponSkrub) - For using the now **deprecated** [sponskrub options](#sponskrub-options). Licensed under [GPLv3+](https://github.com/faissaloo/SponSkrub/blob/master/LICENCE.md) -* [**rtmpdump**](http://rtmpdump.mplayerhq.hu) - For downloading `rtmp` streams. ffmpeg will be used as a fallback. Licensed under [GPLv2+](http://rtmpdump.mplayerhq.hu) -* [**mplayer**](http://mplayerhq.hu/design7/info.html) or [**mpv**](https://mpv.io) - For downloading `rstp` streams. ffmpeg will be used as a fallback. Licensed under [GPLv2+](https://github.com/mpv-player/mpv/blob/master/Copyright) +* [**rtmpdump**](http://rtmpdump.mplayerhq.hu) - For downloading `rtmp` streams. ffmpeg can be used instead with `--downloader ffmpeg`. Licensed under [GPLv2+](http://rtmpdump.mplayerhq.hu) +* [**mplayer**](http://mplayerhq.hu/design7/info.html) or [**mpv**](https://mpv.io) - For downloading `rstp`/`mms` streams. ffmpeg can be used instead with `--downloader ffmpeg`. Licensed under [GPLv2+](https://github.com/mpv-player/mpv/blob/master/Copyright) To use or redistribute the dependencies, you must agree to their respective licensing terms. diff --git a/yt_dlp/downloader/common.py b/yt_dlp/downloader/common.py index b559e7cae..3a0a014ef 100644 --- a/yt_dlp/downloader/common.py +++ b/yt_dlp/downloader/common.py @@ -108,7 +108,7 @@ class FileDownloader: @classproperty def FD_NAME(cls): - return re.sub(r'(?<!^)(?=[A-Z])', '_', cls.__name__[:-2]).lower() + return re.sub(r'(?<=[a-z])(?=[A-Z])', '_', cls.__name__[:-2]).lower() @staticmethod def format_seconds(seconds): diff --git a/yt_dlp/downloader/fragment.py b/yt_dlp/downloader/fragment.py index 79161b809..7c27f6cdf 100644 --- a/yt_dlp/downloader/fragment.py +++ b/yt_dlp/downloader/fragment.py @@ -23,7 +23,7 @@ class HttpQuietDownloader(HttpFD): def to_screen(self, *args, **kargs): pass - console_title = to_screen + to_console_title = to_screen class FragmentFD(FileDownloader): |