⚡ Quick Start: pip install StreamingCommunity && StreamingCommunity
📺 Services - See all supported streaming platforms
- Installation
- Quick Start
- DNS Configuration
- Downloaders
- Configuration
- Usage Examples
- Global Search
- Advanced Features
- Docker
- Related Projects
git clone https://github.com/Arrowar/StreamingCommunity.git
cd StreamingCommunity
pip install -r requirements.txt
python test_run.pypython update.py- 📝 Login Guide - Authentication for supported services
# If installed via PyPI
StreamingCommunity
# If cloned manually
python test_run.pyRequired for optimal functionality and reliability.
Use one of these DNS providers:
- Cloudflare DNS:
1.1.1.1- Setup guide - Quad9 DNS:
9.9.9.9- Setup guide
| Type | Description | Example |
|---|---|---|
| HLS | HTTP Live Streaming (m3u8) | View example |
| MP4 | Direct MP4 download | View example |
| DASH | MPEG-DASH with DRM bypass* | View example |
| MEGA | MEGA.nz downloads | View example |
*DASH with DRM bypass: Requires a valid L3 CDM (Content Decryption Module). This project does not provide or facilitate obtaining CDMs. Users must ensure compliance with applicable laws.
Key configuration parameters in config.json:
{
"OUT_FOLDER": {
"root_path": "Video",
"movie_folder_name": "Movie",
"serie_folder_name": "Serie",
"anime_folder_name": "Anime",
"map_episode_name": "%(episode_name) S%(season)E%(episode)",
"add_siteName": false
}
}-
root_path: Base directory where videos are saved- Windows:
C:\\MyLibrary\\Folderor\\\\MyServer\\Share - Linux/MacOS:
Desktop/MyLibrary/Folder
- Windows:
-
movie_folder_name: Subfolder name for movies (default:"Movie") -
serie_folder_name: Subfolder name for TV series (default:"Serie") -
anime_folder_name: Subfolder name for anime (default:"Anime") -
map_episode_name: Episode filename template%(tv_name): TV Show name%(season): Season number (zero-padded)%(episode): Episode number (zero-padded)%(episode_name): Episode title- Example:
"%(episode_name) S%(season)E%(episode)"→"Pilot S01E01"
-
add_siteName: Append site name to root path (default:false)
{
"M3U8_DOWNLOAD": {
"thread_count": 12,
"retry_count": 40,
"concurrent_download": true,
"max_speed": "30MB",
"check_segments_count": true,
"select_video": "res=.*1080.*:for=best",
"select_audio": "lang='ita|Ita':for=all",
"select_subtitle": "lang='ita|eng|Ita|Eng':for=all",
"cleanup_tmp_folder": true
}
}thread_count: Number of parallel download threads (default:12)retry_count: Maximum retry attempts for failed segments (default:40)concurrent_download: Download video and audio simultaneously (default:true)max_speed: Speed limit per stream (e.g.,"30MB","10MB")check_segments_count: Verify segment count matches manifest (default:true)cleanup_tmp_folder: Remove temporary files after download (default:true)
- select_video
OPTIONS: id=REGEX:lang=REGEX:name=REGEX:codecs=REGEX:res=REGEX:frame=REGEX:
segsMin=number:segsMax=number:ch=REGEX:range=REGEX:url=REGEX:
plistDurMin=hms:plistDurMax=hms:bwMin=int:bwMax=int:role=string:for=FOR
for=FOR: Selection type - best (default), best[number], worst[number], all
"select_video": "for=best" // Select best video
"select_video": "res=3840*:codecs=hvc1:for=best" // Select 4K HEVC video
"select_video": "res=.*1080.*:for=best" // Select 1080p video
"select_video": "plistDurMin=1h20m30s:for=best" // Duration > 1h 20m 30s
"select_video": "role=main:for=best" // Main video role
"select_video": "bwMin=800:bwMax=1000:for=best" // Bandwidth 800-1000 Kbps- select_audio
"select_audio": "for=all" // Select all audio tracks
"select_audio": "lang=en:for=best" // Select best English audio
"select_audio": "lang='ja|en':for=best2" // Best 2 tracks (Japanese or English)
"select_audio": "lang='ita|Ita':for=all" // All Italian audio tracks
"select_audio": "role=main:for=best" // Main audio role- select_subtitle
"select_subtitle": "for=all" // Select all subtitles
"select_subtitle": "name=English:for=all" // All subtitles containing "English"
"select_subtitle": "lang='ita|eng|Ita|Eng':for=all" // Italian and English subtitles
"select_subtitle": "lang=en:for=best" // Best English subtitle{
"M3U8_CONVERSION": {
"use_gpu": false,
"param_video": ["-c:v", "libx265", "-crf", "28", "-preset", "medium"],
"param_audio": ["-c:a", "libopus", "-b:a", "128k"],
"subtitle_disposition": true,
"subtitle_disposition_language": ["forced-ita", "ita-forced"],
"param_final": ["-c", "copy"],
"extension": "mkv"
}
}use_gpu: Enable hardware acceleration (default:false)param_video: FFmpeg video encoding parameters- Example:
["-c:v", "libx265", "-crf", "28", "-preset", "medium"](H.265/HEVC encoding)
- Example:
param_audio: FFmpeg audio encoding parameters- Example:
["-c:a", "libopus", "-b:a", "128k"](Opus audio at 128kbps)
- Example:
subtitle_disposition: Automatically set default subtitle track (default:true)subtitle_disposition_language: Languages to mark as default/forced- Example:
["forced-ita", "ita-forced"]for Italian forced subtitles
- Example:
param_final: Final FFmpeg parameters (default:["-c", "copy"]for stream copy)extension: Output file format ("mkv"or"mp4")
{
"REQUESTS": {
"verify": false,
"timeout": 30,
"max_retry": 10
}
}verify: Enable SSL certificate verification (default:false)timeout: Request timeout in seconds (default:30)max_retry: Maximum retry attempts for failed requests (default:10)
{
"DEFAULT": {
"show_message": false,
"show_device_info": false,
"fetch_domain_online": true
}
}show_message: Display debug messages (default:false)show_device_info: Display device information (default:false)fetch_domain_online: Automatically fetch latest domains from GitHub (default:true)
# Show help and available sites
python test_run.py -h
# Search and download
python test_run.py --site streamingcommunity --search "interstellar"
# Auto-download first result
python test_run.py --site streamingcommunity --search "interstellar" --auto-first
# Use site by index
python test_run.py --site 0 --search "interstellar"# Keep console open
python test_run.py --not_close trueSearch across multiple streaming sites simultaneously:
# Global search
python test_run.py --global -s "cars"
# Search by category
python test_run.py --category 1 # Anime
python test_run.py --category 2 # Movies & Series
python test_run.py --category 3 # Series onlyResults display title, media type, and source site in a consolidated table.
Execute custom scripts before/after downloads. Configure in config.json:
{
"HOOKS": {
"pre_run": [
{
"name": "prepare-env",
"type": "python",
"path": "scripts/prepare.py",
"args": ["--clean"],
"env": {"MY_FLAG": "1"},
"cwd": "~",
"os": ["linux", "darwin"],
"timeout": 60,
"enabled": true,
"continue_on_error": true
}
],
"post_run": [
{
"name": "notify",
"type": "bash",
"command": "echo 'Download completed'"
}
]
}
}name: Descriptive name for the hooktype: Script type -python,bash,sh,bat,cmdpath: Path to script file (alternative tocommand)command: Inline command to execute (alternative topath)args: List of arguments passed to the scriptenv: Additional environment variables as key-value pairscwd: Working directory for script execution (supports~and environment variables)os: Optional OS filter -["windows"],["darwin"](macOS),["linux"], or combinationstimeout: Maximum execution time in seconds (hook fails if exceeded)enabled: Enable/disable the hook without removing configurationcontinue_on_error: Iffalse, stops execution when hook fails
- Python hooks: Run with current Python interpreter
- Bash/sh hooks: Execute via
bash/shon macOS/Linux - Bat/cmd hooks: Execute via
cmd /con Windows - Inline commands: Use
commandinstead ofpathfor simple one-liners
Hooks are automatically executed by run.py before (pre_run) and after (post_run) the main execution flow.
# Build image
docker build -t streaming-community-api .
# Run with Cloudflare DNS
docker run -d --name streaming-community --dns 1.1.1.1 -p 8000:8000 streaming-community-apidocker run -d --dns 9.9.9.9 -p 8000:8000 -v /your/path:/app/Video streaming-community-apimake build-container
make LOCAL_DIR=/your/path run-container- Improve GUI - Enhance the graphical user interface
- Add Crunchyroll subtitle synchronization
This software is provided strictly for educational and research purposes only. The author and contributors:
- DO NOT assume any responsibility for illegal or unauthorized use of this software
- DO NOT encourage, promote, or support the download of copyrighted content without proper authorization
- DO NOT provide, include, or facilitate obtaining any DRM circumvention tools, CDM modules, or decryption keys
- DO NOT endorse piracy or copyright infringement in any form
By using this software, you agree that:
- You are solely responsible for ensuring your use complies with all applicable local, national, and international laws and regulations
- You must have legal rights to access and download any content you process with this software
- You will not use this software to circumvent DRM, access unauthorized content, or violate copyright laws
- You understand that downloading copyrighted content without permission is illegal in most jurisdictions
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
If you do not agree with these terms, do not use this software.
Made with ❤️ for streaming lovers
If you find this project useful, consider starring it! ⭐