mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
fix miss variable in download audio
This commit is contained in:
parent
83583bb9d6
commit
137aba2fbb
17
README.md
17
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.
|
||||
|
||||
<p align="center">
|
||||
<img src="Stream/assets/run.gif" style="max-width: 55%;" alt="video working" />
|
||||
</p>
|
||||
|
||||
## 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)
|
||||
|
@ -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)
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user