leoncvlt / raiplay-dl Goto Github PK
View Code? Open in Web Editor NEW⏬ Python downloader for the Italian streaming platform RaiPlay
⏬ Python downloader for the Italian streaming platform RaiPlay
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!
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
Hi,
i receive the error "http not found" while using the link for a specific season, instead it works if I use the main url of the serial.
Example:
https://www.raiplay.it/programmi/uncicloneinconvento works correctly
https://www.raiplay.it/programmi/uncicloneinconvento/episodi/stagione-13 doesn't works
thanks for support
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
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)
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 ...
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'
Hello, I have successfully installed files as requirements.txt requires. However, the cmd says that raiplay-dl is not an internal or external command, nor is it a runnable program or batch file. Could you please tell me how to solve this problem? Or should I add something to the PATH? Thanks a lot!
Funziona su singolo episodio
Funziona su serie.
NON funziona quando la serie è divisa in sotto-serie. Esempio
https://www.raiplay.it/programmi/leredita
OPPURE
https://www.raiplay.it/programmi/leredita/stagione-2019---2020/puntate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.