Skip to content

Commit a1dde78

Browse files
committed
Update readme
1 parent 80dc7c1 commit a1dde78

File tree

6 files changed

+85
-76
lines changed

6 files changed

+85
-76
lines changed

README.md

Lines changed: 30 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
1-
<p align="center">
2-
<img src="https://i.ibb.co/v6RnT0wY/s2.jpg" alt="Project Logo" width="450"/>
3-
</p>
4-
5-
<p align="center">
6-
<a href="https://pypi.org/project/streamingcommunity">
7-
<img src="https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI"/>
8-
</a>
9-
<a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
10-
<img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
11-
</a>
12-
<a href="https://github.com/Arrowar/StreamingCommunity/commits">
13-
<img src="https://img.shields.io/github/commit-activity/m/Arrowar/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
14-
</a>
15-
<a href="https://github.com/Arrowar/StreamingCommunity/commits">
16-
<img src="https://img.shields.io/github/last-commit/Arrowar/StreamingCommunity/main?label=&style=for-the-badge&display_timestamp=committer" alt="Last Commit"/>
17-
</a>
18-
</p>
19-
20-
<p align="center">
21-
<a href="https://github.com/Arrowar/StreamingCommunity/blob/main/LICENSE">
22-
<img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
23-
</a>
24-
<a href="https://pypi.org/project/streamingcommunity">
25-
<img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
26-
</a>
27-
<a href="https://github.com/Arrowar/StreamingCommunity">
28-
<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"/>
29-
</a>
30-
</p>
1+
<div align="center">
2+
3+
## 📊 Project Status & Info
4+
5+
[![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)
6+
[![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)
7+
[![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)
8+
9+
[![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)
10+
[![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)
11+
[![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)
12+
13+
## 💝 Support the Project
14+
15+
[![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)
16+
## 🚀 Download & Install
17+
18+
[![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)
19+
[![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)
20+
[![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)
21+
[![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)
22+
---
23+
24+
***Quick Start:** `pip install streamingcommunity` or download the executable for your platform above*
25+
26+
</div>
3127

3228
# 📋 Table of Contents
3329

@@ -76,24 +72,6 @@
7672

7773
# Installation
7874

79-
<p align="center">
80-
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_win.exe">
81-
<img src="https://img.shields.io/badge/-Windows-blue.svg?style=for-the-badge&logo=windows" alt="Windows">
82-
</a>
83-
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_mac">
84-
<img src="https://img.shields.io/badge/-macOS-black.svg?style=for-the-badge&logo=apple" alt="macOS">
85-
</a>
86-
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_linux">
87-
<img src="https://img.shields.io/badge/-Linux-orange.svg?style=for-the-badge&logo=linux" alt="Linux">
88-
</a>
89-
<a href="https://github.com/Arrowar/StreamingCommunity/releases/latest/download/StreamingCommunity_linux_previous">
90-
<img src="https://img.shields.io/badge/-Linux Previous-gray.svg?style=for-the-badge&logo=linux" alt="Linux Previous">
91-
</a>
92-
<a href="https://github.com/Arrowar/StreamingCommunity/releases">
93-
<img src="https://img.shields.io/badge/-All Versions-lightgrey.svg?style=for-the-badge&logo=github" alt="All Versions">
94-
</a>
95-
</p>
96-
9775
## 1. PyPI Installation
9876

9977
Install directly from PyPI:
@@ -798,10 +776,10 @@ python3 telegram_bot.py
798776

799777
# Tutorials
800778

801-
- [Windows Tutorial](https://www.youtube.com/watch?v=mZGqK4wdN-k)
802-
- [Linux Tutorial](https://www.youtube.com/watch?v=0qUNXPE_mTg)
803-
- [Pypy Tutorial](https://www.youtube.com/watch?v=C6m9ZKOK0p4)
804-
- [Compiled .exe Tutorial](https://www.youtube.com/watch?v=pm4lqsxkTVo)
779+
- [Windows](https://www.youtube.com/watch?v=mZGqK4wdN-k)
780+
- [Linux](https://www.youtube.com/watch?v=0qUNXPE_mTg)
781+
- [Pypy](https://www.youtube.com/watch?v=C6m9ZKOK0p4)
782+
- [Compiled](https://www.youtube.com/watch?v=pm4lqsxkTVo)
805783

806784
# To Do
807785

StreamingCommunity/Util/config_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def _load_site_data_from_api(self) -> None:
275275
}
276276

277277
try:
278-
console.print(f"[bold cyan]Retrieving site data from GitHub:[/bold cyan] [green]{domains_github_url}[/green]")
278+
console.print(f"[bold cyan]Retrieving site data from GitHub:[/bold cyan]")
279279
response = requests.get(domains_github_url, timeout=8, headers=headers)
280280

281281
if response.ok:

Test/Download/HLS.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,16 @@
1111

1212

1313
# Import
14-
from StreamingCommunity.Util.message import start_message
1514
from StreamingCommunity.Util.os import os_summary
1615
os_summary.get_system_summary()
1716
from StreamingCommunity.Util.logger import Logger
1817
from StreamingCommunity.Lib.Downloader import HLS_Downloader
1918

2019

21-
"""start_message()
22-
logger = Logger()
23-
result = HLS_Downloader(
24-
output_path=".\\Video\\test.mp4",
25-
m3u8_url="https://acdn.ak-stream-videoplatform.sky.it/hls/2024/11/21/968275/master.m3u8"
26-
).start()
27-
28-
thereIsError = result['error'] is not None
29-
print(thereIsError)"""
30-
3120

3221
class TestHLSDownloader(unittest.TestCase):
3322
def setUp(self):
3423
os_summary.get_system_summary()
35-
start_message()
3624
self.logger = Logger()
3725

3826
def test_hls_download(self):

Test/Download/MP4.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,16 @@
1111

1212

1313
# Import
14-
from StreamingCommunity.Util.message import start_message
1514
from StreamingCommunity.Util.os import os_summary
1615
os_summary.get_system_summary()
1716
from StreamingCommunity.Util.logger import Logger
1817
from StreamingCommunity.Lib.Downloader import MP4_downloader
1918

2019

21-
"""start_message()
22-
logger = Logger()
23-
path, kill_handler = MP4_downloader(
24-
url="https://148-251-75-109.top/Getintopc.com/IDA_Pro_2020.mp4",
25-
path=r".\\Video\\undefined.mp4"
26-
)
27-
28-
thereIsError = path is None
29-
print(thereIsError)"""
3020

3121
class TestMP4Downloader(unittest.TestCase):
3222
def setUp(self):
3323
os_summary.get_system_summary()
34-
start_message()
3524
self.logger = Logger()
3625

3726
def test_mp4_download(self):

Test/EasyDownload/HLS.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 23.06.24
2+
3+
# Fix import
4+
import sys
5+
import os
6+
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
7+
sys.path.append(src_path)
8+
9+
10+
11+
# Import
12+
from StreamingCommunity.Util.message import start_message
13+
from StreamingCommunity.Util.os import os_summary
14+
os_summary.get_system_summary()
15+
from StreamingCommunity.Util.logger import Logger
16+
from StreamingCommunity.Lib.Downloader import HLS_Downloader
17+
18+
19+
start_message()
20+
logger = Logger()
21+
result = HLS_Downloader(
22+
output_path=".\\Video\\test.mp4",
23+
m3u8_url="https://acdn.ak-stream-videoplatform.sky.it/hls/2024/11/21/968275/master.m3u8"
24+
).start()
25+
26+
thereIsError = result['error'] is not None
27+
print(thereIsError)

Test/EasyDownload/MP4.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 23.06.24
2+
3+
# Fix import
4+
import sys
5+
import os
6+
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
7+
sys.path.append(src_path)
8+
9+
10+
11+
# Import
12+
from StreamingCommunity.Util.message import start_message
13+
from StreamingCommunity.Util.os import os_summary
14+
os_summary.get_system_summary()
15+
from StreamingCommunity.Util.logger import Logger
16+
from StreamingCommunity.Lib.Downloader import MP4_downloader
17+
18+
19+
start_message()
20+
logger = Logger()
21+
path, kill_handler = MP4_downloader(
22+
url="https://148-251-75-109.top/Getintopc.com/IDA_Pro_2020.mp4",
23+
path=r".\\Video\\undefined.mp4"
24+
)
25+
26+
thereIsError = path is None
27+
print(thereIsError)

0 commit comments

Comments
 (0)