diff --git a/README.md b/README.md index 63f0d8b..1c8feb0 100644 --- a/README.md +++ b/README.md @@ -4,32 +4,31 @@ ## Streaming community downloader -Script to download film from streaming community without selenium +Script to download film from streaming community without selenium, select movie or series and download single ep.

video working

## Requirement - * python [3.9](https://www.python.org/downloads/release/python-390/) * ffmpeg [win](https://www.gyan.dev/ffmpeg/builds/) * opensll [win](https://slproweb.com/products/Win32OpenSSL.html) -## Installation - -* requirement for library of python - +## Installation library ```bash - pip install -r requirements.txt +pip install -r requirements.txt ``` ## Run - ```bash - python run.py +python run.py ``` +## Features +- Search for movies. +- Search and download TV series episodes. + ## Authors - [@Ghost6446](https://www.github.com/Ghost6446) diff --git a/Stream/api/tv.py b/Stream/api/tv.py index 361204a..d262fa3 100644 --- a/Stream/api/tv.py +++ b/Stream/api/tv.py @@ -66,7 +66,7 @@ def get_m3u8_key_ep(json_win_video, json_win_param, tv_name, n_stagione, n_ep, e def get_m3u8_audio(json_win_video, json_win_param, tv_name, n_stagione, n_ep, ep_title): - response = requests.get('https://vixcloud.co/playlist/175967', params={'token': json_win_param['token'], 'expires': json_win_param["expires"] }, headers={ + response = requests.get(f'https://vixcloud.co/playlist/{json_win_video["id"]}', params={'token': json_win_param['token'], 'expires': json_win_param["expires"] }, headers={ 'referer': f'https://vixcloud.co/embed/{json_win_video["id"]}?token={json_win_param["token720p"]}&title={tv_name.replace("-", "+")}&referer=1&expires={json_win_param["expires"]}&description=S{n_stagione}%3AE{n_ep}+{ep_title.replace(" ", "+")}&nextEpisode=1' }) @@ -87,8 +87,8 @@ def main_dw_tv(tv_id, tv_name, version, domain): eps = get_info_season(tv_id, tv_name, domain, version, token, season_select) for ep in eps: console_print(f"[green]Ep: [blue]{ep['n']} [green]=> [purple]{ep['name']}") - index_ep_select = int(msg.ask("[green]Insert ep number: ")) - 1 + embed_content = get_iframe(tv_id, eps[index_ep_select]['id'], domain, token) json_win_video, json_win_param = parse_content(embed_content) m3u8_url = get_m3u8_url(json_win_video, json_win_param) diff --git a/Stream/upload/__version__.py b/Stream/upload/__version__.py index 78098d3..ec73a1e 100644 --- a/Stream/upload/__version__.py +++ b/Stream/upload/__version__.py @@ -1,5 +1,5 @@ __title__ = 'Streaming_community' -__version__ = 'v0.4.0' +__version__ = 'v0.5.0' __author__ = 'Ghost6446' __description__ = 'A command-line program to download film' __license__ = 'MIT License'