aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor
diff options
context:
space:
mode:
authorAleri Kaisattera <73682764+alerikaisattera@users.noreply.github.com>2023-07-13 20:17:05 +0600
committerGitHub <noreply@github.com>2023-07-13 19:47:05 +0530
commit2cfe221fbbe46faa3f46552c08d947a51f424903 (patch)
treea5f47d8d3f33e29e791fc074f038cd2249fcd6ce /yt_dlp/extractor
parent2af4eeb77246b8183aae75a0a8d19f18c08115b2 (diff)
downloadhypervideo-pre-2cfe221fbbe46faa3f46552c08d947a51f424903.tar.lz
hypervideo-pre-2cfe221fbbe46faa3f46552c08d947a51f424903.tar.xz
hypervideo-pre-2cfe221fbbe46faa3f46552c08d947a51f424903.zip
[ie/streamanity] Remove (#7571)
Service is dead Authored by: alerikaisattera
Diffstat (limited to 'yt_dlp/extractor')
-rw-r--r--yt_dlp/extractor/_extractors.py1
-rw-r--r--yt_dlp/extractor/streamanity.py47
2 files changed, 0 insertions, 48 deletions
diff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py
index 1e7f165ab..2af99b3da 100644
--- a/yt_dlp/extractor/_extractors.py
+++ b/yt_dlp/extractor/_extractors.py
@@ -1871,7 +1871,6 @@ from .storyfire import (
StoryFireSeriesIE,
)
from .streamable import StreamableIE
-from .streamanity import StreamanityIE
from .streamcloud import StreamcloudIE
from .streamcz import StreamCZIE
from .streamff import StreamFFIE
diff --git a/yt_dlp/extractor/streamanity.py b/yt_dlp/extractor/streamanity.py
deleted file mode 100644
index 6eaee52d9..000000000
--- a/yt_dlp/extractor/streamanity.py
+++ /dev/null
@@ -1,47 +0,0 @@
-from .common import InfoExtractor
-
-
-class StreamanityIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?streamanity\.com/video/(?P<id>[A-Za-z0-9]+)'
- _TESTS = [{
- 'url': 'https://streamanity.com/video/9DFPTnuYi8f2',
- 'md5': '6ab171e8d4a02ad5dcbff6bea44cf5a1',
- 'info_dict': {
- 'id': '9DFPTnuYi8f2',
- 'ext': 'mp4',
- 'title': 'Bitcoin vs The Lighting Network',
- 'thumbnail': r're:https://res\.cloudinary\.com/.+\.png',
- 'description': '',
- 'uploader': 'Tom Bombadil (Freddy78)',
- }
- }, {
- 'url': 'https://streamanity.com/video/JktOUjSlfzTD',
- 'md5': '31f131e28abd3377c38be586a59532dc',
- 'info_dict': {
- 'id': 'JktOUjSlfzTD',
- 'ext': 'mp4',
- 'title': 'Share data when you see it',
- 'thumbnail': r're:https://res\.cloudinary\.com/.+\.png',
- 'description': 'Reposting as data should be public and stored on blockchain',
- 'uploader': 'digitalcurrencydaily',
- }
- }]
-
- def _real_extract(self, url):
- video_id = self._match_id(url)
- video_info = self._download_json(
- f'https://app.streamanity.com/api/video/{video_id}', video_id)['data']['video']
-
- formats = self._extract_m3u8_formats(
- f'https://stream.mux.com/{video_info["play_id"]}.m3u8?token={video_info["token"]}',
- video_id, ext='mp4', m3u8_id='hls')
-
- return {
- 'id': video_id,
- 'title': video_info['title'],
- 'description': video_info.get('description'),
- 'uploader': video_info.get('author_name'),
- 'is_live': False,
- 'thumbnail': video_info.get('thumb'),
- 'formats': formats,
- }