Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rai italia #2930

Closed
ppunta opened this issue May 16, 2014 · 5 comments
Closed

rai italia #2930

ppunta opened this issue May 16, 2014 · 5 comments
Assignees

Comments

@ppunta
Copy link

@ppunta ppunta commented May 16, 2014

ppunta@piero-fisso:~$ youtube-dl --verbose http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391.html']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[generic] ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391: Downloading webpage
[generic] ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391: Extracting information
ERROR: Unsupported URL: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 380, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@nemobis
Copy link

@nemobis nemobis commented Jun 12, 2014

RAI would certainly have many users but I suppose it's very complicated given Silverlight and all that rubbish?
Posting up to date output, it changed slightly.

$ youtube-dl http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e.html
[generic] ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e: Downloading webpage
[generic] ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e: Extracting information
ERROR: Unsupported URL: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
[federico@e350 ~]$ youtube-dl --verbose http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e.html
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.05
[debug] Python version 2.7.5 - Linux-3.14.4-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
[debug] Proxy map: {}
[generic] ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e: Downloading webpage
[generic] ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e: Extracting information
ERROR: Unsupported URL: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 418, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1396, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 127, column 31
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79153d44-bf1b-47f1-a5bb-d0dbf252190e.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@dstftw dstftw self-assigned this Jun 13, 2014
@dstftw dstftw closed this in b0adbe9 Jun 13, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 13, 2014

Support for RaiNet websites has just been added and will be available in the next release of youtube-dl. Thanks for the report.

@nemobis
Copy link

@nemobis nemobis commented Jun 13, 2014

Wow, this is fantastic. :)

@ppunta
Copy link
Author

@ppunta ppunta commented Jun 13, 2014

great !!!
thanks a lot my friend ;)
regards, Piero

@francesco1119
Copy link

@francesco1119 francesco1119 commented Feb 12, 2015

Hello, I still cannot download RAI video. Take for example "Elio e le storie tese - Nano nano" at the URL: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-bde5986e-e524-4700-9eac-999afdd0f197.html.
As we can see on the page code there is a script that links SilverLight video:

                    MediaItem.type = 'WMV';

                    var videoURL = "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=MjDPE0Bw1uIeeqqEEqual";

                    var videoTitolo="";
                    var isUgc = false;
                    var videoFormat = '43';
                    var subtitle = '';
                    var estensioneVideo = 'wmv';
                    var codificaVideo = '';

With VLC is easy to pass the URL "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=MjDPE0Bw1uIeeqqEEqual" and see the video. Does youtube-dl would do that?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.