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

site support request http://www.msnbc.com/global-citizen-festival #3843

Open
jpfl opened this issue Sep 27, 2014 · 3 comments
Open

site support request http://www.msnbc.com/global-citizen-festival #3843

jpfl opened this issue Sep 27, 2014 · 3 comments

Comments

@jpfl
Copy link

@jpfl jpfl commented Sep 27, 2014

please add support for:
http://www.msnbc.com/global-citizen-festival

C:\Program Files (x86)\YouTube-DL>youtube-dl.exe http://www.msnbc.com/global-citizen-festival --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.msnbc.com/global-citizen-festival', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.09.25
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] global-citizen-festival: Requesting header
WARNING: Falling back on generic information extractor.
[generic] global-citizen-festival: Downloading webpage
[generic] global-citizen-festival: Extracting information
ERROR: Unsupported URL: http://www.msnbc.com/global-citizen-festival; 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 "youtube_dl\extractor\generic.pyo", line 545, in _real_extract
File "youtube_dl\utils.pyo", line 1509, 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: not well-formed (invalid token): line 121, column 43
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 524, in extract_info
File "youtube_dl\extractor\common.pyo", line 181, in extract
File "youtube_dl\extractor\generic.pyo", line 892, in _real_extract
ExtractorError: Unsupported URL: http://www.msnbc.com/global-citizen-festival; 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.

C:\Program Files (x86)\YouTube-DL>

@jpfl
Copy link
Author

@jpfl jpfl commented Sep 28, 2014

this is a protected AdobeHDS stream.
there is also an unprotected AdobeHDS stream at http://www.globalcitizen.org/festival
but it would be interesting to be able to save or watch protected streams of msnbc.com in general.

@frohe
Copy link

@frohe frohe commented Sep 28, 2014

Get links like

http://www.msnbc.com/msnbc/watch/living-on-a-dollar-a-day-reality-of-extreme-poverty-revealed-329367619968

Then search inside for "guid"

id="TPVideoPlayerContainer" guid="n_msnbc_curry_140915"

Then call

http://feed.theplatform.com/f/2E2eJC/msnbc_video?form=json&range=-1&byGuid=n_msnbc_curry_140915

and json_decode it

Then loop through jsondecoded->entries[0]->{"media$content"} and search for {"plfile$url"}

Then call foreach entry

explode("?",$item->{"plfile$url"})[0]."?format=SMIL&formats=MPEG,MPEG4"

and xmldecode it

Here you have the mp4-streams, if any

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 19, 2015

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
3 participants
You can’t perform that action at this time.