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

Support new site www.rtp.pt #4382

Closed
accorreia123 opened this issue Dec 5, 2014 · 5 comments
Closed

Support new site www.rtp.pt #4382

accorreia123 opened this issue Dec 5, 2014 · 5 comments
Labels
site-support-request Add extractor(s) for a new domain

Comments

@accorreia123
Copy link

D:\Downloads\youtube-dl -i -f 18 -t --verbose --write-sub http://ww
w.rtp.pt/play/p405/e174042/paixoes-cruzadas
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '-f', '18', '-t', '--verbose', '--write-sub',
'http://www.rtp.pt/play/p405/e174042/paixoes-cruzadas']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.12.04.2
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://127.0.0.1:64789'}
[generic] paixoes-cruzadas: Requesting header
WARNING: Falling back on generic information extractor.
[generic] paixoes-cruzadas: Downloading webpage
[generic] paixoes-cruzadas: Extracting information
ERROR: Unsupported URL: http://www.rtp.pt/play/p405/e174042/paixoes-cruzadas; pl
ease report this issue on https://yt-dl.org/bug . Make sure you are using the la
test version; type youtube-dl -U to update. Be sure to call youtube-dl with th
e --verbose flag and include its complete output.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 651, in _real_extract
File "youtube_dl\utils.pyo", line 1425, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 13, column 131
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 553, in extract_info
File "youtube_dl\extractor\common.pyo", line 241, in extract
File "youtube_dl\extractor\generic.pyo", line 1044, in _real_extract
ExtractorError: Unsupported URL: http://www.rtp.pt/play/p405/e174042/paixoes-cru
zadas; please report this issue on https://yt-dl.org/bug . Make sure you are usi
ng the latest version; type youtube-dl -U to update. Be sure to call youtube-d
l with the --verbose flag and include its complete output.

@jaimeMF jaimeMF added the site-support-request Add extractor(s) for a new domain label Dec 5, 2014
@naglis naglis closed this as completed in c3f3b29 Dec 12, 2014
@naglis
Copy link

naglis commented Dec 12, 2014

Thanks for the report. Support for rtp.pt has been added and should be available in the next release of youtube-dl. Please note that you'll have to have rtmpdump installed for it to work.

@phihag
Copy link
Contributor

phihag commented Dec 13, 2014

The by @naglis changes have been included in youtube-dl 2014.12.13. Type youtube-dl -U to update.

@accorreia123
Copy link
Author

Sorry but still not working. I have have rtmpdump on the same directory.
Here is the output received:

youtube-dl -i -f 18 -t --verbose --write-sub http://www.rtp.pt/play/p831/a-quimica-das-coisas
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '-f', '18', '-t', '--verbose', '--write-sub',
'http://www.rtp.pt/play/p831/a-quimica-das-coisas']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.12.13
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: rtmpdump 2.1
[debug] Proxy map: {}
[generic] a-quimica-das-coisas: Requesting header
WARNING: Falling back on generic information extractor.
[generic] a-quimica-das-coisas: Downloading webpage
[generic] a-quimica-das-coisas: Extracting information
ERROR: Unsupported URL: http://www.rtp.pt/play/p831/a-quimica-das-coisas; please
report this issue on https://yt-dl.org/bug . Make sure you are using the latest
version; type youtube-dl -U to update. Be sure to call youtube-dl with the --
verbose flag and include its complete output.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 660, in _real_extract
File "youtube_dl\utils.pyo", line 1432, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 13, column 131
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 555, in extract_info
File "youtube_dl\extractor\common.pyo", line 243, in extract
File "youtube_dl\extractor\generic.pyo", line 1060, in _real_extract
ExtractorError: Unsupported URL: http://www.rtp.pt/play/p831/a-quimica-das-coisa
s; please report this issue on https://yt-dl.org/bug . Make sure you are using t
he latest version; type youtube-dl -U to update. Be sure to call youtube-dl wi
th the --verbose flag and include its complete output.

@phihag
Copy link
Contributor

phihag commented Dec 13, 2014

But those two URLs are different:

http://www.rtp.pt/play/p405/e174042/paixoes-cruzadas  # Original
http://www.rtp.pt/play/p831/a-quimica-das-coisa             # Second message

I've broadened the detection and released youtube-dl 2014.12.14 with that change. Again, thanks for the report and diligent follow-up!

@mcurly
Copy link

mcurly commented Feb 5, 2015

comment submitted as a new issue -->"problem with media drawn from rtp.pt site" #4882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

No branches or pull requests

5 participants