mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 19:36:45 +00:00
[extractor/livestreamfails] Support posts (#5139)
Authored by: invertico
This commit is contained in:
parent
98d4ec1ef2
commit
bf2e1ec67a
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
|
|
||||||
class LivestreamfailsIE(InfoExtractor):
|
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 = [{
|
_TESTS = [{
|
||||||
'url': 'https://livestreamfails.com/clip/139200',
|
'url': 'https://livestreamfails.com/clip/139200',
|
||||||
'md5': '8a03aea1a46e94a05af6410337463102',
|
'md5': '8a03aea1a46e94a05af6410337463102',
|
||||||
|
@ -17,6 +17,9 @@ class LivestreamfailsIE(InfoExtractor):
|
||||||
'timestamp': 1656271785,
|
'timestamp': 1656271785,
|
||||||
'upload_date': '20220626',
|
'upload_date': '20220626',
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
'url': 'https://livestreamfails.com/post/139200',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue