1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00
This commit is contained in:
Ronnie 2025-06-26 07:10:13 +09:00 committed by GitHub
commit 69fde91af8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View File

@ -2002,6 +2002,7 @@
from .streaks import StreaksIE from .streaks import StreaksIE
from .streamable import StreamableIE from .streamable import StreamableIE
from .streamcz import StreamCZIE from .streamcz import StreamCZIE
from .streamff import StreamffIE
from .streetvoice import StreetVoiceIE from .streetvoice import StreetVoiceIE
from .stretchinternet import StretchInternetIE from .stretchinternet import StretchInternetIE
from .stripchat import StripchatIE from .stripchat import StripchatIE

View File

@ -0,0 +1,23 @@
from .common import InfoExtractor
class StreamffIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?streamff\.com/v/(?P<id>[a-zA-Z0-9]+)'
_TESTS = [{
'url': 'https://streamff.com/v/74341c35',
'md5': 'afbdb74dc6e53477b1f1083793cfc2df',
'info_dict': {
'id': '74341c35',
'ext': 'mp4',
'title': '74341c35',
},
}]
def _real_extract(self, url):
video_id = self._match_id(url)
return {
'id': video_id,
'title': video_id,
'url': f'https://ffedge.streamff.com/uploads/{video_id}.mp4',
}