diff options
author | invertico <8355966+invertico@users.noreply.github.com> | 2022-10-04 20:22:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 23:52:07 +0530 |
commit | bf2e1ec67a5cdaa9039e91cd39c1f670649068a8 (patch) | |
tree | bdcfcc54df773c3087bbdb7e8928b7e03dcd9b75 /yt_dlp/extractor/livestreamfails.py | |
parent | 98d4ec1ef287cc5655ce6afd7b17755c57a245cb (diff) | |
download | hypervideo-pre-bf2e1ec67a5cdaa9039e91cd39c1f670649068a8.tar.lz hypervideo-pre-bf2e1ec67a5cdaa9039e91cd39c1f670649068a8.tar.xz hypervideo-pre-bf2e1ec67a5cdaa9039e91cd39c1f670649068a8.zip |
[extractor/livestreamfails] Support posts (#5139)
Authored by: invertico
Diffstat (limited to 'yt_dlp/extractor/livestreamfails.py')
-rw-r--r-- | yt_dlp/extractor/livestreamfails.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/livestreamfails.py b/yt_dlp/extractor/livestreamfails.py index d6f626a99..0df638422 100644 --- a/yt_dlp/extractor/livestreamfails.py +++ b/yt_dlp/extractor/livestreamfails.py @@ -3,7 +3,7 @@ from ..utils import format_field, traverse_obj, unified_timestamp class LivestreamfailsIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?livestreamfails\.com/clip/(?P<id>[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?livestreamfails\.com/(?:clip|post)/(?P<id>[0-9]+)' _TESTS = [{ 'url': 'https://livestreamfails.com/clip/139200', 'md5': '8a03aea1a46e94a05af6410337463102', @@ -17,6 +17,9 @@ class LivestreamfailsIE(InfoExtractor): 'timestamp': 1656271785, 'upload_date': '20220626', } + }, { + 'url': 'https://livestreamfails.com/post/139200', + 'only_matching': True, }] def _real_extract(self, url): |