GithubHelp home page GithubHelp logo

ghost6446 / streamingcommunity_api Goto Github PK

View Code? Open in Web Editor NEW
75.0 3.0 10.0 4.52 MB

Script per scaricare film e serie da streamingcommunity e animeunity - Script to download film from streamingcommunity and animeunity

License: MIT License

Python 100.00%
api api-client python-3 pythonscrape pythonscraping films filmseries streaming-api streaming-video streamigncomunity

streamingcommunity_api's People

Contributors

cohvir avatar daboynb avatar emanuelespadaro avatar fede14it avatar ghost6446 avatar helper0x avatar kastromugnaio avatar luigi-328 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

streamingcommunity_api's Issues

Fix subtitle ...

2 cose da sistemare, quando hai tempo:

  • skippare il delete della cartella 'subtitles' quando si fa update
  • rinominare i sittotitoli con il nome del file/episodio+lingua (se ad esempio si scaricano più episodi, i sottotitoli presenti son osempre quelli dell'ultimo episodio in quanto sovrascrivono sempre i precedenti)
    grazie (metti un link ppal da qualche parte!)

Log Download Subtitle appare 2 volte

Come puoi vedere dallo screenshot download subtitle solo per l'inglese appare 2 volte ma sembra essere un bug grafico
image
Inoltre volevo chiederti se possiamo fare una chiacchierata su Discord in quanto sto aggiungendo dei cambiamenti
Il mio username é fede14

Error request

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 405, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1061, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 363, in connect
    self.sock = conn = self._new_conn()
                       ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 179, in _new_conn
    raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7f1cb82c45d0>, 'Connection to sc-u7-01.scws-content.net timed out. (connect timeout=10)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 800, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sc-u7-01.scws-content.net', port=443): Max retries exceeded with url: /hls/180/9/da/9da93c0f-ba83-46e2-891e-5c1d2aa38016/audio/ita/0403-0100.ts (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1cb82c45d0>, 'Connection to sc-u7-01.scws-content.net timed out. (connect timeout=10)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/urlo/Documenti/StreamingCommunity_api-main/run.py", line 62, in <module>
    main()
  File "/home/urlo/Documenti/StreamingCommunity_api-main/run.py", line 54, in main
    download_tv(selected_title['id'], selected_title['slug'], site_version, domain)
  File "/home/urlo/Documenti/StreamingCommunity_api-main/Src/Api/tv.py", line 154, in main_dw_tv
    dw_single_ep(tv_id, eps, index_ep_select, domain, token, tv_name, season_select)
  File "/home/urlo/Documenti/StreamingCommunity_api-main/Src/Api/tv.py", line 134, in dw_single_ep
    dw_m3u8(m3u8_url, m3u8_url_audio, m3u8_key, mp4_path)
  File "/home/urlo/Documenti/StreamingCommunity_api-main/Src/Util/FFmpeg/m3u8.py", line 241, in dw_m3u8
    downloader.download_and_save_ts()
  File "/home/urlo/Documenti/StreamingCommunity_api-main/Src/Util/FFmpeg/m3u8.py", line 198, in download_and_save_ts
    list(tqdm(executor.map(self.decrypt_and_save, range(len(self.segments)) ), total=len(self.segments), unit="bytes", unit_scale=True, unit_divisor=1024, desc="[yellow]Download"))
  File "/usr/lib/python3/dist-packages/tqdm/std.py", line 1195, in __iter__
    for obj in iterable:
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 619, in result_iterator
    yield _result_or_cancel(fs.pop())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 317, in _result_or_cancel
    return fut.result(timeout)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/urlo/Documenti/StreamingCommunity_api-main/Src/Util/FFmpeg/m3u8.py", line 171, in decrypt_and_save
    ts_response = self.make_req_single_ts_file(audio_ts_url)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/urlo/Documenti/StreamingCommunity_api-main/Src/Util/FFmpeg/m3u8.py", line 137, in make_req_single_ts_file
    req = requests.get(ts_url, headers={'user-agent': get_headers()}, timeout=10, allow_redirects=True)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 507, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='sc-u7-01.scws-content.net', port=443): Max retries exceeded with url: /hls/180/9/da/9da93c0f-ba83-46e2-891e-5c1d2aa38016/audio/ita/0403-0100.ts (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1cb82c45d0>, 'Connection to sc-u7-01.scws-content.net timed out. (connect timeout=10)')) 

As you see, the episode fails to download in a % among 50-68. I am using Linux, a Ubuntu Based distro. This both happens with default and custom DNS. Maybe you will be able to fix it.
Thanks in advance.

Problema ultima versione 0.8.5

Movie select: The Walk
Quality select => 1080p
Traceback (most recent call last):
File "d:\TORRENT_StreamingCommunity_api\run.py", line 64, in
main()
File "d:\TORRENT_StreamingCommunity_api\run.py", line 51, in main
download_film(selected_title['id'], selected_title['slug'], domain)
File "d:\TORRENT_StreamingCommunity_api\Src\Api\film.py", line 106, in main_dw_film
download_m3u8(m3u8_index=m3u8_url, m3u8_audio=m3u8_url_audio, m3u8_subtitle=m3u8_url, key=m3u8_key, output_filename=mp4_path)
File "d:\TORRENT_StreamingCommunity_api\Src\Lib\FFmpeg\my_m3u8.py", line 451, in download_m3u8
parse_class_m3u8.parse_data(df_make_req(m3u8_subtitle))
^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'parse_class_m3u8' where it is not associated with a value
PS D:\TORRENT_StreamingCommunity_api>

Work

questa funziona per tutto grazie

Error 409

Buonasera a tutti, il progetto è molto allettante, diciamo che su 5 movie scaricati, 3 sono andati a buon fine, il quarto era privo di traccia audio ed il quinto è risultato scomposto delle sue parti (i titoli di testa a metà film e altre parti iniziali spostate)... Grazie dell'attenzione e buon anno.

Config: audio and subtitles improvements

  1. Un'opzione che permetta di abilitare la selezione "manuale" delle lingue audio tra quelle disponibili (attualmente è possibile scegliere la lingua, ma solamente una)
{
  "audio_select_language": true
}

Permetterà all'utente di inserire l'input:

Choose which audio languages you want to download:

0 - Italiano
1 - English
2 - Français
...

Insert audio INDEX, or (*) to download all audios, or [1-2] for a range of audios, or [1,3,8] for multi-selection:
  1. Un'opzione che permetta di scaricare determinati sottotitoli scegliendo tra le lingue disponibili (attualmente le scarica tutte in automatico)
{
  "subtitles_select_language": true
}
Choose which subtitles you want to download:

0 - Italiano
1 - Italiano-forced
2 - Français
...

Insert subtitle INDEX, or (*) to download all subtitiles, or [1-2] for a range of subtitles or [1,3,8] for multi-selection:

Se la selezione "manuale" è attiva, un input, che agisce come quello per selezionare le serie e le stagioni, permetterà di scegliere quale lingua scaricare. Altrimenti, il comportamento di default sarà quello attuale, ovvero non richiedere l'input all'utente.

fix CPU 99%

Ciao, prima di tutto volevo ringraziarti per questo fantastico script che uso molto spesso, ho notato che durante il download la CPU viene maxxata al 99%, rendendo anche abbastanza irresponsivo il sistema (Windows nel mio caso), sarebbe possibile aggiungere un limite su quanti thread si vogliono assegnare durante il download o comunque limitare questo problema in altri modi? Grazie!

Original File Option

Ciao, ti posso consigliare di far scegliere all'utente prima del download se vuole mantenere il file originale (.ts) o se lo preferisce nel più comune .mp4.

Error saving MP4: None

Premetto che sono su Windows, non so se valga anche su Linux

Il problema si verifica alla riga 320 di my_m3u8.py
ffmpeg.input(file_list_path, format='concat', safe=0).output(output_filename, c='copy', loglevel='quiet').run()
Cercando online ho trovato che il file di testo in input file_list_path deve essere scritto con i front slash invece che con i backslash e effettivamente cambiando la riga in
ffmpeg.input(file_list_path.replace("\\", "/"), format='concat', safe=0).output(output_filename, c='copy', loglevel='quiet').run()
tutto funziona perfettamente.

Error ffmpeg 2 [instal]

Anche con la 3.9 il problema risulta questo:

Traceback (most recent call last):
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\run.py", line 62, in
main()
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\run.py", line 37, in main
initialize()
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\run.py", line 28, in initialize
check_ffmpeg()
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\Src\Util\FFmpeg\installer.py", line 39, in check_ffmpeg
subprocess.run(["ffmpeg", "-version"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato
PS C:\Users\matt9\Downloads\StreamingCommunity_api-main>

Non saprei che fare :/

Error 409

ho riscontrato questo errore. penso accada ciò perchè hanno cambiato il dominio da .cz a .estate

No subtitle found on Movies

Quando provo a scaricare un film, lo script non trova alcun sottotitolo, mentre su StreamingCommunity sono disponibili.

Esempio di film con i sottotitoli.

Risultato:
Result

Nessun problema con le serie tv.

AttributeError: module 'ffmpeg' has no attribute 'Error'

E:\StreamingCommunity_api-main>python run.py

    _____ _                            _                                               _ _
    / ____| |                          (_)                                             (_) |
    | (___ | |_ _ __ ___  __ _ _ __ ___  _ _ __   __ _    ___ ___  _ __ ___  _   _ _ __  _| |_ _   _
    \___ \| __| '__/ _ \/ _` | '_ ` _ \| | '_ \ / _` |  / __/ _ \| '_ ` _ \| | | | '_ \| | __| | | |
    ____) | |_| | |  __/ (_| | | | | | | | | | | (_| | | (_| (_) | | | | | | |_| | | | | | |_| |_| |
    |_____/ \__|_|  \___|\__,_|_| |_| |_|_|_| |_|\__, |  \___\___/|_| |_| |_|\__,_|_| |_|_|\__|\__, |
                                                __/ |                                         __/ |
                                                |___/                                         |___/

Checking github version ...
=> Everything up to date
=> Last version: v0.8.3

StreamingCommunity_api was downloaded 41 times, but only 60.98% of You(!!) have starred it.
Help the repository grow today, by leaving a star and sharing it to others online!

Checking ffmpeg ...
FFmpeg => Add to system path

Get rules ...
Rules => .li

Insert word to search in all site: : 7082
0 -> My Demon - tv

Index to download: : 0

Tv select: My Demon
Season find: 1

Insert season number: : 1
Ep: 1 => Vita fosca
Ep: 2 => Tutti hanno un demone nel cuore
Ep: 3 => Stringere la mano a un demone
Ep: 4 => Dolce ma pericoloso
Ep: 5 => Solo tu
Ep: 6 => Nella Ruota della Fortuna
Ep: 7 => Relazioni macchiate
Ep: 8 => La scelta fatale
Ep: 9 => La verità svelata
Ep: 10 => Uscire dal guscio
Ep: 11 => Un paradiso nefasto
Ep: 12 => La salvatrice della distruzione
Ep: 13 => Il passato, il peccato originale
Ep: 14 => Il nostro inferno personale
Ep: 15 => La fine del fato
Ep: 16 => Il nostro paradiso personale

Insert ep number or (*) to download all ep or [1-2] for a range of ep: : *
Download ep: 1 => Vita fosca
Quality select => 720p

[22:51:58] Download video ts m3u8.py:163
[22:51:59] Ts segments find => 1035 m3u8.py:84
Download 99% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 1.0/1.0 K [ 0:02:35 < 0:00:02 , 6 bytes/s ]
[22:54:34] Start join all file m3u8.py:142
Traceback (most recent call last):
File "E:\StreamingCommunity_api-main\Src\Util\FFmpeg\m3u8.py", line 144, in join
ffmpeg.input(file_list_path, format='concat', safe=0).output(output_filename, c='copy', loglevel='quiet').run()
^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\StreamingCommunity_api-main\run.py", line 61, in
main()
File "E:\StreamingCommunity_api-main\run.py", line 51, in main
download_tv(selected_title['id'], selected_title['slug'], site_version, domain)
File "E:\StreamingCommunity_api-main\Src\Api\tv.py", line 170, in main_dw_tv
dw_single_ep(tv_id, eps, int(ep['n'])-1, domain, token, tv_name, season_select)
File "E:\StreamingCommunity_api-main\Src\Api\tv.py", line 133, in dw_single_ep
dw_m3u8(m3u8_url, m3u8_url_audio, m3u8_key, mp4_path)
File "E:\StreamingCommunity_api-main\Src\Util\FFmpeg\m3u8.py", line 195, in dw_m3u8
M3U8Downloader(url, audio_url, key, output_filename).start()
File "E:\StreamingCommunity_api-main\Src\Util\FFmpeg\m3u8.py", line 166, in start
video_m3u8.join(self.video_path)
File "E:\StreamingCommunity_api-main\Src\Util\FFmpeg\m3u8.py", line 145, in join
except ffmpeg.Error as e:
^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'Error'

E:\StreamingCommunity_api-main>

Fix audio ....

Evidenzio un problema nella creazione del file video finale che coinvolge file vecchi e file recenti appena caricati nella piattaforma. Porto alcuni esempi:
1- Scaricando le prime stagioni (S01 e S02) delle serie TV Mare Fuori, l'audio risulta interrotto e spezzato ogni 30 secondi.
Probabilmente perchè son file più vecchi.
Allora ho provato con file più recenti.
2- Provando nuovi episodi appena aggiunti nella piattaforma come ad esempio episodio 5 stagione 4 di True Detective, si nota che il file audio che scarica ha una durata inferiore (circa 56 minuti) a quella del video (circa 1h) per cui gli ultimi 5 minuti sono silenziati (video regolare senza audio).
3- Altro esempio recente. Nella nuova stagione 3 della serie TV The Warrior, il primo episodio è scaricato in modo impeccabile, il secondo ha audio fuori sincronizzazione
Non ho idea del motivo ma non ho capito come mai alcuni episodi sono scaricati perfettamente ed altri hanno problemi

Add features ...

Ciao, volevo chiederti se con questo script (che funziona alla grande, grazie) è possibile effettuare operazioni di questo tipo, ovviamente con i parametri necessari:

  • invece di inserire il singolo episodio o l'intera stagione con *, è possibile inserire un range (es: 2-4)?
  • è possibile specificare da linea di comando di 'saltare' nomi di file già presenti nel folder di download? (perchè attualmente scarica di nuovo il file e soltanto alla fine chiede se sovrascriverlo o meno).
    Grazie

Error requiremets

Traceback (most recent call last):
File "C:\Users\RobbieDS\Downloads\Download\run.py", line 5, in
from Src.Api.film import main_dw_film as download_film
File "C:\Users\RobbieDS\Downloads\Download\Src\Api\film.py", line 6, in
from Src.Util.FFmpeg.m3u8 import dw_m3u8
File "C:\Users\RobbieDS\Downloads\Download\Src\Util\FFmpeg\m3u8.py", line 7, in
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
File "C:\Users\RobbieDS\AppData\Local\Programs\Python\Python39\lib\site-packages\cryptography\hazmat\primitives\ciphers_init_.py", line 11, in
from cryptography.hazmat.primitives.ciphers.base import (
File "C:\Users\RobbieDS\AppData\Local\Programs\Python\Python39\lib\site-packages\cryptography\hazmat\primitives\ciphers\base.py", line 10, in
from cryptography.exceptions import (
File "C:\Users\RobbieDS\AppData\Local\Programs\Python\Python39\lib\site-packages\cryptography\exceptions.py", line 9, in
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: DLL load failed while importing _rust: Impossibile trovare la procedura specificata.

grazie mille

link diretto gerato

Ciao, è possibile ottenere il link diretto generato col token? io non vogliio scaricarlo ma vorrei il link in modo da poter clonare il film in altre hsoting. grazie in anticipo e complimentii!!

Error audio

the ambush - movie
Anche i .ts temporanei sono privi di traccia audio.

Error ffmpeg

Salve a tutti,

ho riscontrato il seguente problema con il download, da cosa può dipendere?

image

Join ts audio with video

Potresti provare a spiegarmi come mai quando si scaricano le serie bisogna scaricare separatamente l'audio, mentre con i film questo passaggio non è necessario? Mi sono spulciato il più possibile il codice ed anche ispezionando streamingcommunity ed i file di vixcloud.co al suo interno non riesco a capire come mai ci sia questa differenza. Grazie.

Error ffmpeg

subito dopo il download mi da questo errore:

Movie select: Saltburn
Find: 1974 ts file to download
Download 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 K [ 0:02:12 < 0:00:00 , 16 bytes/s ]
Start join all file
Traceback (most recent call last):
File "C:\Users\Sergio\Desktop\StreamingCommunity\run.py", line 42, in
main()
File "C:\Users\Sergio\Desktop\StreamingCommunity\run.py", line 33, in main
download_film(db_title[index_select]['id'], db_title[index_select]['name'].replace(" ", "+"), domain)
File "C:\Users\Sergio\Desktop\StreamingCommunity\Stream\api\film.py", line 55, in main_dw_film
dw_m3u8(m3u8_url, m3u8_key, path_film)
File "C:\Users\Sergio\Desktop\StreamingCommunity\Stream\util\m3u8.py", line 133, in dw_m3u8
downloader.join_ts_files()
File "C:\Users\Sergio\Desktop\StreamingCommunity\Stream\util\m3u8.py", line 116, in join_ts_files
ffmpeg.input(file_list_path, format='concat', safe=0).output(self.output_filename, c="copy", loglevel="quiet").run()
File "C:\Users\Sergio\AppData\Local\Programs\Python\Python312\Lib\site-packages\ffmpeg_run.py", line 313, in run
process = run_async(
^^^^^^^^^^
File "C:\Users\Sergio\AppData\Local\Programs\Python\Python312\Lib\site-packages\ffmpeg_run.py", line 284, in run_async
return subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "C:\Users\Sergio\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Sergio\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

ho provato sia con la versione 0.61 che 0.70 identico errore

Grazie

Error 409

Scusami tanto: scaricato ex-novo, come da te detto, ultima release in oggetto, ma non scarica. Ti allego lo screen.
Cosa posso fare?
stream

Cant download audio

Insert ep number or (*) to download all ep: : 4
Download ep: 4 => Mi getto tra le braccia della morte
Quality select => 720p
=> Use m3u8 audio
[21:28:47] Find: 493 ts file to download Find: 493 ts audio file to download [21:28:49] => Make req to get video and audio file => Download audio Download 99% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━ 488/493 [ 0:Traceback (most recent call last):
File "C:\Users\XXX\Documents_StreamingCommunity_api\run.py", line 42, in
main()
File "C:\Users\XXX\Documents_StreamingCommunity_api\run.py", line 37, in main
download_tv(db_title[index_select]['id'], db_title[index_select]['name'].replace(" ", "+"), site_version, domain)
File "C:\Users\XXX\Documents_StreamingCommunity_api\Src\Api\tv.py", line 145, in main_dw_tv
dw_single_ep(tv_id, eps, index_ep_select, domain, token, tv_name, season_select, lower_tv_name)
File "C:\Users\XXX\Documents_StreamingCommunity_api\Src\Api\tv.py", line 126, in dw_single_ep
dw_m3u8(m3u8_url, m3u8_url_audio, m3u8_key, mp4_path)
File "C:\Users\XXX\Documents_StreamingCommunity_api\Src\Util\m3u8.py", line 205, in dw_m3u8
for obj in iterable:
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\concurrent\futures_base.py", line 600, in result_iterator
yield fs.pop().result()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\concurrent\futures_base.py", line 433, in result
return self.__get_result()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\concurrent\futures_base.py", line 389, in __get_result
raise self._exception
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\XXX\Documents_StreamingCommunity_api\Src\Util\m3u8.py", line 159, in decrypt_and_save
merge_ts_files(video_ts_filename, audio_ts_filename, video_audio_ts_filename)
File "C:\Users\XXX\Documents_StreamingCommunity_api\Src\Util\Helper\util.py", line 17, in merge_ts_files
ffmpeg.output(input_video, input_audio, output_path, format='mpegts', acodec='copy', vcodec='copy', loglevel='quiet').run()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)

alla fine suppongo sbarelli perchè non raggiunge il 100% (preciso che vale per ep. 4 e anche ep.5, mentre i primi 3 episodi della serie tutto ok)

Fix audio, video download ...

salve, mi capita spesso che quando scarico un episodio che viene scaricato a poco più della metà ( ex episodio che dura 30 minuti ne scarica circa 20)

TypeError: cannot unpack non-iterable NoneType object

With the 0.8.5. dee1eee and Python 3.11.8

E:\StreamingCommunity_api-main>py -3.11 run.py

    _____ _                            _                                               _ _
    / ____| |                          (_)                                             (_) |
    | (___ | |_ _ __ ___  __ _ _ __ ___  _ _ __   __ _    ___ ___  _ __ ___  _   _ _ __  _| |_ _   _
    \___ \| __| '__/ _ \/ _` | '_ ` _ \| | '_ \ / _` |  / __/ _ \| '_ ` _ \| | | | '_ \| | __| | | |
    ____) | |_| | |  __/ (_| | | | | | | | | | | (_| | | (_| (_) | | | | | | |_| | | | | | |_| |_| |
    |_____/ \__|_|  \___|\__,_|_| |_| |_|_|_| |_|\__, |  \___\___/|_| |_| |_|\__,_|_| |_|_|\__|\__, |
                                                __/ |                                         __/ |
                                                |___/                                         |___/

Checking github version ...
=> Everything up to date
=> Last version: v0.8.5

StreamingCommunity_api was downloaded 2 times, but only 1550.0% of You(!!) have starred it.
Help the repository grow today, by leaving a star and sharing it to others online!

Checking ffmpeg ...
FFmpeg => Find

Get rules ...
Test domain => express
Rules => .express

Insert word to search in all site: : my d
0 -> My Dog Stupid - Il mio cane Stupido - movie
1 -> My Demon - tv
2 -> I Love My Dad - movie
3 -> L'appuntamento natalizio di papà - movie
4 -> Mio papà a caccia di alieni - tv
5 -> Ho ucciso mio padre - tv
6 -> Drive My Car - movie
7 -> Più tardi al buio - movie
8 -> All my friends are dead - movie
9 -> Il drago di mio padre - movie
10 -> Blue My Mind - Il segreto dei miei anni - movie
11 -> Fuga dalla realtà - movie
12 -> La custode di mia sorella - movie
13 -> Scuola media: Gli anni peggiori della mia vita - movie
14 -> Le Avventure di A.R.I.: Il Mio Amico Robot - movie
15 -> Pepsi, dov'è il mio jet? - tv
16 -> My Holo Love - tv
17 -> My Name - tv
18 -> My Son - movie
19 -> My First First Love - tv
20 -> My Fair Lady - movie

Index to download: : 1

Tv select: My Demon
Season find: 1

Insert season number: : 1
Ep: 1 => Vita fosca
Ep: 2 => Tutti hanno un demone nel cuore
Ep: 3 => Stringere la mano a un demone
Ep: 4 => Dolce ma pericoloso
Ep: 5 => Solo tu
Ep: 6 => Nella Ruota della Fortuna
Ep: 7 => Relazioni macchiate
Ep: 8 => La scelta fatale
Ep: 9 => La verità svelata
Ep: 10 => Uscire dal guscio
Ep: 11 => Un paradiso nefasto
Ep: 12 => La salvatrice della distruzione
Ep: 13 => Il passato, il peccato originale
Ep: 14 => Il nostro inferno personale
Ep: 15 => La fine del fato
Ep: 16 => Il nostro paradiso personale

Insert ep number or (*) to download all ep or [1-2] for a range of ep: : *
Download ep: 1 => Vita fosca
Quality select => 1080p
Traceback (most recent call last):
File "E:\StreamingCommunity_api-main\run.py", line 64, in
main()
File "E:\StreamingCommunity_api-main\run.py", line 54, in main
download_tv(selected_title['id'], selected_title['slug'], site_version, domain)
File "E:\StreamingCommunity_api-main\Src\Api\tv.py", line 177, in main_dw_tv
dw_single_ep(tv_id, eps, int(ep['n'])-1, domain, token, tv_name, season_select)
File "E:\StreamingCommunity_api-main\Src\Api\tv.py", line 135, in dw_single_ep
m3u8_url_audio, m3u8_playlist_content = get_m3u8_playlist(json_win_video, json_win_param, tv_name, season_select, index_ep_select+1, eps[index_ep_select]['name'], token_render)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

thanks for support

Error 409

I have got error 409 while downloading "The Crown".

Tv select: The Crown
 Error: 409        

Thanks again for your work, and don't worry if you can't fix it.
P.S. It just happens with this particular TV show. Update: Now it happens with Berlin too (a show that I was able to download before)

Ffmpeg error

Ho installato i prerequisiti, tutto e' all'ultima versione. Avviando il programma ottengo:

Traceback (most recent call last):
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connection.py", line 203, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 790, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 491, in _make_request
raise new_e
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 1096, in _validate_conn
conn.connect()
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connection.py", line 611, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connection.py", line 218, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000002368B9C1820>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 844, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='streamingcommunity.broker', port=443): Max retries exceeded with url: /titles/7216-non-ci-resta-che-il-crimine---la-serie/stagione-1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002368B9C1820>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\Users\Dell\StreamingCommunity_api\run.py", line 32, in
main()
File "c:\Users\Dell\StreamingCommunity_api\run.py", line 29, in main
download_tv(db_title[index_select]['id'], db_title[index_select]['name'].replace(" ", "+"), site_version, domain)
File "c:\Users\Dell\StreamingCommunity_api\Stream\api\tv.py", line 75, in main_dw_tv
eps = get_info_season(tv_id, tv_name, domain, version, token, season_select)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Dell\StreamingCommunity_api\Stream\api\tv.py", line 28, in get_info_season
r = requests.get(f'https://streamingcommunity.broker/titles/{tv_id}-{tv_name}/stagione-{n_stagione}', headers={
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\adapters.py", line 519, in send raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='streamingcommunity.broker', port=443): Max retries exceeded with url: /titles/7216-non-ci-resta-che-il-crimine---la-serie/stagione-1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002368B9C1820>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

can't download tv series

Traceback (most recent call last):
File "C:\Users\jacop\Desktop\StreamingCommunity_api-main\run.py", line 42, in
main()
File "C:\Users\jacop\Desktop\StreamingCommunity_api-main\run.py", line 37, in main
download_tv(db_title[index_select]['id'], db_title[index_select]['name'].replace(" ", "+"), site_version, domain)
File "C:\Users\jacop\Desktop\StreamingCommunity_api-main\Src\Api\tv.py", line 106, in main_dw_tv
console.print(f"[blue]Season find: [red]{get_info_tv(tv_id, tv_name, version, domain)}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jacop\Desktop\StreamingCommunity_api-main\Src\Api\tv.py", line 26, in get_info_tv
if req.ok():
^^^^^^^^
TypeError: 'bool' object is not callable

Error ffmpeg

dopo che installo il programma nessun problema se non questo:

WARNING: The scripts imageio_download_bin.exe and imageio_remove_bin.exe are installed in 'C:\Users\matt9\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Ne sono usciti tipo 5/6 ma non vedo che sono errori ma semplici avvisi. Dopodichè eseguo il file run.py ma ottengo queste stringhe e non so cosa dovrei fare e/o cosa mi richiede che io faccia il programma.

Traceback (most recent call last):
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\run.py", line 62, in
main()
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\run.py", line 37, in main
initialize()
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\run.py", line 28, in initialize
check_ffmpeg()
File "C:\Users\matt9\Downloads\StreamingCommunity_api-main\Src\Util\FFmpeg\installer.py", line 39, in check_ffmpeg
subprocess.run(["ffmpeg", "-version"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato
PS C:\Users\matt9\Downloads\StreamingCommunity_api-main>

Ho la cartella "principale" del downloader come si vede nella cartella download, può essere quello il problema?

Crash su Macos su ogni contenuto

Ogni volta che provo a scaricare un contenuto, l'app crasha nel momento in cui cerca di creare la struttura di cartelle e sottocartelle in cui mettere i file.

File "/StreamingCommunity_api/Src/Lib/FFmpeg/my_m3u8.py", line 466, in download_m3u8 os.makedirs("\\".join(path[:-1]), exist_ok=True) File "<frozen os>", line 225, in makedirs FileNotFoundError: [Errno 2] No such file or directory: ''

Ho risolto sostituendo la riga 462 di my_m3u8.py con
path = os.path.expanduser(output_filename)

Crash mentre provo a scaricare 2 episodi

Stavo cercando di scaricare l'episodio 7 e l'episodio 9 della sesta stagione di "Formula 1 Drive to Survive" ma crasha. Gli altri episodi si sono scaricati senza problemi

Wrong m3u8 url

...
30 -> Unbelievable - tv
31 -> Charlie Says - movie
32 -> La nave matta di Mister Roberts - movie

Index to download: : 0

Movie select: Merry Christmas
[23:07:34] Wrong m3u8 url m3u8.py:96

error 409

image

ricerca per 'all american'
seleziono 1 (la serie 'all american nightmare rapimento in california')

Esce errore 409

ps: dell'elenco che risulta dalla ricerca con all american, altri titoli hanno i 2 punti : nel nome, e provando un altro paio di quelli con i : entrambi risultano in errore 409, quindi ipotizzo sia il carattere : a rompere lo script.

Grazie

Errore ffmpeg

Purtroppo ogni volta che provo a scaricare qualcosa, orriva alla fine e mi da questo messa, oppure esce fuori subito dopo l'invio.

Insert ep number or (*) to download all ep: : 1
Download ep: 1 => Episodio 1
Quality select => 360p

[13:35:09] Find: 490 ts file to download m3u8.py:82
Download 0% ---------------------------------------------------------------- 0/490 [ 0:00:00 < -:--:-- , ? bytes/s ]
Traceback (most recent call last):
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\run.py", line 47, in
main()
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\run.py", line 39, in main
download_tv(db_title[index_select]['id'], db_title[index_select]['slug'], site_version, domain)
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\Src\Api\tv.py", line 154, in main_dw_tv
dw_single_ep(tv_id, eps, index_ep_select, domain, token, tv_name, season_select)
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\Src\Api\tv.py", line 134, in dw_single_ep
dw_m3u8(m3u8_url, m3u8_url_audio, m3u8_key, mp4_path)
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\Src\Util\m3u8.py", line 242, in dw_m3u8
downloader.join_ts_files()
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\Src\Util\m3u8.py", line 213, in join_ts_files
ts_files.sort(key=extract_number)
File "C:\Users\Valentino\Desktop\StreamingCommunity_api-main\Src\Util\m3u8.py", line 211, in extract_number
return int(''.join(filter(str.isdigit, file_name)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''

Audio fuory sync

Ciao,
i 2 episodi di "true detective", "stagione 4", episodi 1 e 2 appunto, riprodotti sul web dal player online sono ok, mentre una volta scaricati hannpo l'audio fuori sincrono di circa 1 secondo. Non ho idea del perchè, e non ho indizi da darti.
Le parti da scaricare, indicate "X su Y" corrispondono in quantità.

AttributeError: module 'ffmpeg' has no attribute 'Error'

with the latest version and python 3.11

Traceback (most recent call last):
File "E:\StreamingCommunity_api-main\Src\Lib\FFmpeg\my_m3u8.py", line 320, in join
ffmpeg.input(file_list_path, format='concat', safe=0).output(output_filename, c='copy', loglevel='quiet').run()
^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\StreamingCommunity_api-main\run.py", line 93, in
main()
File "E:\StreamingCommunity_api-main\run.py", line 60, in main
download_tv(selected_title['id'], selected_title['slug'], site_version, domain)
File "E:\StreamingCommunity_api-main\Src\Api\tv.py", line 193, in main_dw_tv
dw_single_ep(tv_id, eps, int(ep['n'])-1, domain, token, tv_name, season_select)
File "E:\StreamingCommunity_api-main\Src\Api\tv.py", line 146, in dw_single_ep
download_m3u8(m3u8_index=m3u8_url, m3u8_audio=m3u8_url_audio, m3u8_subtitle=m3u8_playlist, key=m3u8_key, output_filename=mp4_path)
File "E:\StreamingCommunity_api-main\Src\Lib\FFmpeg\my_m3u8.py", line 467, in download_m3u8
M3U8_Downloader(m3u8_index, m3u8_audio, key=key, output_filename=output_filename).start()
File "E:\StreamingCommunity_api-main\Src\Lib\FFmpeg\my_m3u8.py", line 342, in start
video_m3u8.join(self.video_path)
File "E:\StreamingCommunity_api-main\Src\Lib\FFmpeg\my_m3u8.py", line 321, in join
except ffmpeg.Error as e:
^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'Error'

Crash UnicodeEncodeError

Quando provo a scaricare il 5^ episodio di WandaVision va in crash Unicode anche "What If...?" sicuramente i primi 2 episodi


/ | | () / | () |
| (
| |
_ __ ___ __ _ _ __ ___ _ _ __ __ _ | | ___ _ __ ___ _ __ ___ _ _ _ __ | | _ _
_
| | '/ _ / | '_ _ | | ' \ / | | | / _ \| '_ _ | ' ` _ | | | | '_ | | | | | |
) | || | | __/ (| | | | | | | | | | | (| | | |
| () | | | | | | | | | | | || | | | | | || || |
|/ _|| _|_,|| || |||| ||_, | _____/|| || ||| || ||_,|| |||_|_, |
/ | / |
|
/ |
/

Checking github version ...
=> Everything up to date
=> Last version: v0.8.8

StreamingCommunity_api was downloaded 9 times, but only 377.78% of You(!!) have starred it.
Help the repository grow today, by leaving a star and sharing it to others online!

Checking ffmpeg ...
FFmpeg => Find

Get rules ...
Test domain => report
Rules => .report

Insert word to search in all site: : wandavision
0 -> WandaVision - tv

Total result: 1

Insert index number or [1-2] for a range of movies/tv or [1,3,5] to select discontinued movie/tv

In case of tv show you will have to choose season and episode to download

Index to download: : 0

Tv select: WandaVision

Insert season number or (*) to download all seasons or [1-2] for a range of season

Season find: 1

Insert season number: : 1
Ep: 1 => Girato davanti a un pubblico in studio
Ep: 2 => Non cambiare canale
Ep: 3 => Ora a colori
Ep: 4 => Interrompiamo questo programma
Ep: 5 => In questo episodio molto speciale…
Ep: 6 => Nuovissimo Halloween spaventacolare!
Ep: 7 => Infrangere la quarta parete
Ep: 8 => Negli episodi precedenti
Ep: 9 => The Series Finale

Insert ep number or (*) to download all ep or [1-2] for a range of ep: : [5-9]
Download ep: 5 => In questo episodio molto speciale…
Quality select => 1080p
Traceback (most recent call last):
File "c:\Sviluppo\StreamingCommunity_api\run.py", line 93, in
main()
File "c:\Sviluppo\StreamingCommunity_api\run.py", line 60, in main
download_tv(selected_title['id'], selected_title['slug'], site_version, domain)
File "c:\Sviluppo\StreamingCommunity_api\Src\Api\tv.py", line 180, in main_dw_tv
dw_single_ep(tv_id, eps, n_randge_ep-1, domain, token, tv_name, season_select)
File "c:\Sviluppo\StreamingCommunity_api\Src\Api\tv.py", line 135, in dw_single_ep
m3u8_key = get_m3u8_key_ep(json_win_video, json_win_param, tv_name, season_select, index_ep_select+1, eps[index_ep_select]['name'], token_render)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Sviluppo\StreamingCommunity_api\Src\Api\tv.py", line 97, in get_m3u8_key_ep
req = requests.get('https://vixcloud.co/storage/enc.key', headers={
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 793, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connectionpool.py", line 496, in _make_request
conn.request(
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connection.py", line 399, in request
self.putheader(header, value)
File "C:\Users\fedef\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\urllib3\connection.py", line 313, in putheader
super().putheader(header, *values)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\http\client.py", line 1304, in putheader
values[i] = one_value.encode('latin-1')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2026' in position 162: ordinal not in range(256)

Connection Timeout

Quando si effettua la ricerca del titolo la connessione va in timeout restituendo il seguente messaggio:
"TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".
Ho provato anche a lanciare lo script di update ma continua ad andare in timeout.

Output Folder Option

Avere la possibilità di aggiungere una cartella di output invece di avere l'hard-coded videos sarebbe utile a chi ha necessità di copiare i video in una cartella specifica ad ogni download. Utilizzare un file config anche qui sarebbe comodo.

Error 409

I have installed all the requirements, as well as updated the required module. However, when I tried to run the software, it appears this on my prompt:

C:\Users\umile\Desktop\StreamingCommunity_api>python run.py
[01:05:01] UPDATE DOMANIN                                                                                     page.py:24

C:\Users\umile\Desktop\StreamingCommunity_api>

How can I fix this? I rely on your help and look forward to hearing from you sooner.

Error 409

Screenshot 2024-01-08 125507
Ciao, non scarica il contenuto come da foto allegata.

Error ffmpeg

Seguito la guida da te gentilmente offerta, non è cambiato nulla, stessi errori e il programma che si ferma dopo aver lanciato il comando run. Ho provato anche a vedere con il comando da cmd ffmpeg - version e come risultato mi dice che ffmpeg non è un comando eseguibile

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.