Git Product home page Git Product logo

raiplay-dl's People

Contributors

dependabot[bot] avatar drego85 avatar leoncvlt avatar pastasource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

raiplay-dl's Issues

Nome episodio che termina con i "..."

Purtroppo su windows non sono permesse directory che terminano con i punti, pertanto nel momento della creazione windows li ripulisce.
Ovviamente poi raiplay-dl non trova la directory corretta e si blocca.

Downloading title @ https://www.raiplay.it//video/2016/06/Un-Ciclone-in-Convento-S3E2---Addio-Mausi-3ad6e24c-5f64-46fa-9cb1-2300d5f16dae.json Traceback (most recent call last): File "raiplay-dl.py", line 83, in <module> download(args.url, args.download_directory) File "raiplay-dl.py", line 33, in download download_show(url, download_dir) File "raiplay-dl.py", line 42, in download_show download_set(get_raiplay_url(block_set["path_id"]), download_dir) File "raiplay-dl.py", line 49, in download_set download_title(get_raiplay_url(episode["path_id"]), download_dir) File "raiplay-dl.py", line 61, in download_title os.makedirs(video_filename.parent) File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\os.py", line 221, in makedirs mkdir(name, mode) FileNotFoundError: [WinError 3] Impossibile trovare il percorso specificato: 'rai2\\Un Ciclone in Convento S3E2 - Addio, Mausi...\\3'

ffmpeg non trovato

anche se ho ffmpeg installato (pip install ffmpeg) ricevo il seguente errore.
Purtroppo non sono pratico di phyton, commetto qualche errore?
Grazie per il supporto.

C:\Users\Seaquake\Desktop\raiplay-dl-master>python raiplay-dl.py -d rai https://www.raiplay.it/programmi/uncicloneinconvento
Download directory set to rai
Downloading show @ https://www.raiplay.it/programmi/uncicloneinconvento
Downloading set @ https://www.raiplay.it//programmi/uncicloneinconvento/ContentSet-9e0fd894-754c-463b-bf6d-c7edfc986ecb.json
Downloading title @ https://www.raiplay.it//video/2017/05/Un-ciclone-in-convento-S1E1---Tamburi-africani-e31ec4c4-478d-482e-b2f7-11655bc85ba4.json
[generic] relinkerServlet: Requesting header
[redirect] Following redirect to http://b2ushds2-vh.akamaihd.net/i/Italy/podcastcdn/raidue/Un_ciclone_in_convento/7141951_,800,1800,.mp4.csmil/master.m3u8?auth=daEaAd9bZaTdhbed_bAaYd_c5cgbMcgcrdt-bEqiKz-c0-GmsvsEs&aifp=V001
[generic] master: Requesting header
WARNING: Could not send HEAD request to http://b2ushds2-vh.akamaihd.net/i/Italy/podcastcdn/raidue/Un_ciclone_in_convento/7141951_,800,1800,.mp4.csmil/master.m3u8?auth=daEaAd9bZaTdhbed_bAaYd_c5cgbMcgcrdt-bEqiKz-c0-GmsvsEs&aifp=V001: HTTP Error 405: Method Not Allowed
[generic] master: Downloading webpage
[generic] master: Downloading m3u8 information
[download] Destination: master-master.mp4
ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.
Traceback (most recent call last):
File "raiplay-dl.py", line 83, in
download(args.url, args.download_directory)
File "raiplay-dl.py", line 33, in download
download_show(url, download_dir)
File "raiplay-dl.py", line 42, in download_show
download_set(get_raiplay_url(block_set["path_id"]), download_dir)
File "raiplay-dl.py", line 49, in download_set
download_title(get_raiplay_url(episode["path_id"]), download_dir)
File "raiplay-dl.py", line 76, in download_title
ydl.download([video_url])
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 2017, in download
res = self.extract_info(
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 807, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 866, in process_ie_result
return self.extract_info(ie_result['url'],
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 807, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 862, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 1643, in process_video_result
self.process_info(new_info)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 1925, in process_info
success = dl(filename, info_dict)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 1864, in dl
return fd.download(name, info)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\downloader\common.py", line 366, in download
return self.real_download(filename, info_dict)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\downloader\external.py", line 35, in real_download
retval = self._call_downloader(tmpfilename, info_dict)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\downloader\external.py", line 227, in _call_downloader
self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.')
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\downloader\common.py", line 165, in report_error
self.ydl.report_error(*args, **kargs)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 624, in report_error
self.trouble(error_message, tb)
File "C:\Users\Seaquake\AppData\Local\Programs\Python\Python38-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

C:\Users\Seaquake\Desktop\raiplay-dl-master>pip install ffmpeg
Requirement already satisfied: ffmpeg in c:\users\seaquake\appdata\local\programs\python\python38-32\lib\site-packages (1.4)

Audio isn't downloaded

I'm having a problem with some episodes

The episode from 7 to 12 of "un professore" are downloaded without the audio, even if i pass the link of the single episode instead of the one of the series.

thanks for support

Error with special characters

When an episodes have some special characters, that windows don't allow in file name or directory, the rename of the file goes in error.

Characters like: " or ...

Not working

Only downloading strange json files.

python3 raiplay-dl.py https://www.raiplay.it/programmi/stalk
Download directory set to downloads
Downloading show @ https://www.raiplay.it/programmi/stalk
Downloading set @ https://www.raiplay.it//programmi/stalk/ContentSet-100d9003-4ba8-4f73-848d-e5e8079c0129.json
Downloading title @ https://www.raiplay.it//video/2021/10/Stalk-S2E1-RIP-Cacciatori-di-Stalker-ae170b32-9d54-46d5-90ce-39ecc32d50a7.json
[generic] relinkerServlet: Requesting header
WARNING: Falling back on generic information extractor.
[generic] relinkerServlet: Downloading webpage
WARNING: URL could be a direct video link, returning it as such.
[download] Destination: relinkerServlet-relinkerServlet.htm
[download] 100% of 173.00B in 00:00

[Feedback] File name

Prima di tutto complimenti!

Un piccolo feedback sul bulk download:
Al momento viene creata una cartella "nome serie SxEx titolo episodio" al cui interno c'è una cartella "1" a cui interno c'è "titolo-episodio.mp4".
Non sarebbe più pratico creare direttamente i file "nome-serie SxEx titolo-episodio.mp4"?
My 2 cent.

Grazie!

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.