Update readme

This commit is contained in:
Lovi 2025-06-17 10:02:37 +02:00
parent 80dc7c1baa
commit a1dde783f0
6 changed files with 83 additions and 74 deletions

View File

@ -1,33 +1,29 @@
<p align="center"> <div align="center">
<img src="https://i.ibb.co/v6RnT0wY/s2.jpg" alt="Project Logo" width="450"/>
</p>
<p align="center"> ## 📊 Project Status & Info
<a href="https://pypi.org/project/streamingcommunity">
<img src="https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI"/>
</a>
<a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
<img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
</a>
<a href="https://github.com/Arrowar/StreamingCommunity/commits">
<img src="https://img.shields.io/github/commit-activity/m/Arrowar/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
</a>
<a href="https://github.com/Arrowar/StreamingCommunity/commits">
<img src="https://img.shields.io/github/last-commit/Arrowar/StreamingCommunity/main?label=&style=for-the-badge&display_timestamp=committer" alt="Last Commit"/>
</a>
</p>
<p align="center"> [![PyPI Version](https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&logoColor=white&labelColor=2d3748&color=3182ce&style=for-the-badge)](https://pypi.org/project/streamingcommunity)
<a href="https://github.com/Arrowar/StreamingCommunity/blob/main/LICENSE"> [![Downloads](https://img.shields.io/pypi/dm/streamingcommunity?logo=pypi&logoColor=white&labelColor=2d3748&color=38a169&style=for-the-badge)](https://pypi.org/project/streamingcommunity)
<img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/> [![License](https://img.shields.io/github/license/Arrowar/StreamingCommunity?logo=gnu&logoColor=white&labelColor=2d3748&color=e53e3e&style=for-the-badge)](https://github.com/Arrowar/StreamingCommunity/blob/main/LICENSE)
</a>
<a href="https://pypi.org/project/streamingcommunity"> [![Code Lines](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Arrowar/StreamingCommunity/main/.github/.domain/loc-badge.json&style=for-the-badge&labelColor=2d3748)](https://github.com/Arrowar/StreamingCommunity)
<img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/> [![Last Commit](https://img.shields.io/github/last-commit/Arrowar/StreamingCommunity?logo=git&logoColor=white&labelColor=2d3748&color=805ad5&style=for-the-badge)](https://github.com/Arrowar/StreamingCommunity/commits)
</a> [![Issues](https://img.shields.io/github/issues/Arrowar/StreamingCommunity?logo=github&logoColor=white&labelColor=2d3748&color=ed8936&style=for-the-badge)](https://github.com/Arrowar/StreamingCommunity/issues)
<a href="https://github.com/Arrowar/StreamingCommunity">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Arrowar/StreamingCommunity/main/.github/.domain/loc-badge.json&style=for-the-badge" alt="Lines of Code"/> ## 💝 Support the Project
</a>
</p> [![Donate PayPal](https://img.shields.io/badge/💳_Donate-PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white&labelColor=2d3748)](https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C)
## 🚀 Download & Install
[![Windows](https://img.shields.io/badge/🪟_Windows-0078D4?style=for-the-badge&logo=windows&logoColor=white&labelColor=2d3748)](https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_win.exe)
[![macOS](https://img.shields.io/badge/🍎_macOS-000000?style=for-the-badge&logo=apple&logoColor=white&labelColor=2d3748)](https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_mac)
[![Linux latest](https://img.shields.io/badge/🐧_Linux_latest-FCC624?style=for-the-badge&logo=linux&logoColor=black&labelColor=2d3748)](https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_linux_latest)
[![Linux 22.04](https://img.shields.io/badge/🐧_Linux_22.04-FCC624?style=for-the-badge&logo=linux&logoColor=black&labelColor=2d3748)](https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_linux_previous)
---
*⚡ **Quick Start:** `pip install streamingcommunity` or download the executable for your platform above*
</div>
# 📋 Table of Contents # 📋 Table of Contents
@ -76,24 +72,6 @@
# Installation # Installation
<p align="center">
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_win.exe">
<img src="https://img.shields.io/badge/-Windows-blue.svg?style=for-the-badge&logo=windows" alt="Windows">
</a>
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_mac">
<img src="https://img.shields.io/badge/-macOS-black.svg?style=for-the-badge&logo=apple" alt="macOS">
</a>
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_linux">
<img src="https://img.shields.io/badge/-Linux-orange.svg?style=for-the-badge&logo=linux" alt="Linux">
</a>
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_linux_previous">
<img src="https://img.shields.io/badge/-Linux Previous-gray.svg?style=for-the-badge&logo=linux" alt="Linux Previous">
</a>
<a href="https://github.com/Arrowar/StreamingCommunity/releases">
<img src="https://img.shields.io/badge/-All Versions-lightgrey.svg?style=for-the-badge&logo=github" alt="All Versions">
</a>
</p>
## 1. PyPI Installation ## 1. PyPI Installation
Install directly from PyPI: Install directly from PyPI:
@ -798,10 +776,10 @@ python3 telegram_bot.py
# Tutorials # Tutorials
- [Windows Tutorial](https://www.youtube.com/watch?v=mZGqK4wdN-k) - [Windows](https://www.youtube.com/watch?v=mZGqK4wdN-k)
- [Linux Tutorial](https://www.youtube.com/watch?v=0qUNXPE_mTg) - [Linux](https://www.youtube.com/watch?v=0qUNXPE_mTg)
- [Pypy Tutorial](https://www.youtube.com/watch?v=C6m9ZKOK0p4) - [Pypy](https://www.youtube.com/watch?v=C6m9ZKOK0p4)
- [Compiled .exe Tutorial](https://www.youtube.com/watch?v=pm4lqsxkTVo) - [Compiled](https://www.youtube.com/watch?v=pm4lqsxkTVo)
# To Do # To Do

View File

@ -275,7 +275,7 @@ class ConfigManager:
} }
try: try:
console.print(f"[bold cyan]Retrieving site data from GitHub:[/bold cyan] [green]{domains_github_url}[/green]") console.print(f"[bold cyan]Retrieving site data from GitHub:[/bold cyan]")
response = requests.get(domains_github_url, timeout=8, headers=headers) response = requests.get(domains_github_url, timeout=8, headers=headers)
if response.ok: if response.ok:

View File

@ -11,28 +11,16 @@ sys.path.append(src_path)
# Import # Import
from StreamingCommunity.Util.message import start_message
from StreamingCommunity.Util.os import os_summary from StreamingCommunity.Util.os import os_summary
os_summary.get_system_summary() os_summary.get_system_summary()
from StreamingCommunity.Util.logger import Logger from StreamingCommunity.Util.logger import Logger
from StreamingCommunity.Lib.Downloader import HLS_Downloader from StreamingCommunity.Lib.Downloader import HLS_Downloader
"""start_message()
logger = Logger()
result = HLS_Downloader(
output_path=".\\Video\\test.mp4",
m3u8_url="https://acdn.ak-stream-videoplatform.sky.it/hls/2024/11/21/968275/master.m3u8"
).start()
thereIsError = result['error'] is not None
print(thereIsError)"""
class TestHLSDownloader(unittest.TestCase): class TestHLSDownloader(unittest.TestCase):
def setUp(self): def setUp(self):
os_summary.get_system_summary() os_summary.get_system_summary()
start_message()
self.logger = Logger() self.logger = Logger()
def test_hls_download(self): def test_hls_download(self):

View File

@ -11,27 +11,16 @@ sys.path.append(src_path)
# Import # Import
from StreamingCommunity.Util.message import start_message
from StreamingCommunity.Util.os import os_summary from StreamingCommunity.Util.os import os_summary
os_summary.get_system_summary() os_summary.get_system_summary()
from StreamingCommunity.Util.logger import Logger from StreamingCommunity.Util.logger import Logger
from StreamingCommunity.Lib.Downloader import MP4_downloader from StreamingCommunity.Lib.Downloader import MP4_downloader
"""start_message()
logger = Logger()
path, kill_handler = MP4_downloader(
url="https://148-251-75-109.top/Getintopc.com/IDA_Pro_2020.mp4",
path=r".\\Video\\undefined.mp4"
)
thereIsError = path is None
print(thereIsError)"""
class TestMP4Downloader(unittest.TestCase): class TestMP4Downloader(unittest.TestCase):
def setUp(self): def setUp(self):
os_summary.get_system_summary() os_summary.get_system_summary()
start_message()
self.logger = Logger() self.logger = Logger()
def test_mp4_download(self): def test_mp4_download(self):

27
Test/EasyDownload/HLS.py Normal file
View File

@ -0,0 +1,27 @@
# 23.06.24
# Fix import
import sys
import os
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
sys.path.append(src_path)
# Import
from StreamingCommunity.Util.message import start_message
from StreamingCommunity.Util.os import os_summary
os_summary.get_system_summary()
from StreamingCommunity.Util.logger import Logger
from StreamingCommunity.Lib.Downloader import HLS_Downloader
start_message()
logger = Logger()
result = HLS_Downloader(
output_path=".\\Video\\test.mp4",
m3u8_url="https://acdn.ak-stream-videoplatform.sky.it/hls/2024/11/21/968275/master.m3u8"
).start()
thereIsError = result['error'] is not None
print(thereIsError)

27
Test/EasyDownload/MP4.py Normal file
View File

@ -0,0 +1,27 @@
# 23.06.24
# Fix import
import sys
import os
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
sys.path.append(src_path)
# Import
from StreamingCommunity.Util.message import start_message
from StreamingCommunity.Util.os import os_summary
os_summary.get_system_summary()
from StreamingCommunity.Util.logger import Logger
from StreamingCommunity.Lib.Downloader import MP4_downloader
start_message()
logger = Logger()
path, kill_handler = MP4_downloader(
url="https://148-251-75-109.top/Getintopc.com/IDA_Pro_2020.mp4",
path=r".\\Video\\undefined.mp4"
)
thereIsError = path is None
print(thereIsError)