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

[kaltura] Support playlists #12427

Open
sg0001 opened this issue Mar 11, 2017 · 2 comments
Open

[kaltura] Support playlists #12427

sg0001 opened this issue Mar 11, 2017 · 2 comments
Labels

Comments

@sg0001
Copy link

@sg0001 sg0001 commented Mar 11, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.03.10
~$ youtube-dl --version
2017.03.10

I have

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
    • #5081 and #6137 were fixes in past versions, I think
    • #12041 indicates a non-url format for single Kaltura videos; I tried this with the playlist ID and got an extractor error (also below)

purpose of issue

  • Bug report (encountered problems with youtube-dl)

verbose output

~$ youtube-dl -v "https://cdnapisec.kaltura.com/html5/html5lib/v2.41/mwEmbedFrame.php/p/1770401/uiconf_id/34290512?wid=_1770401&iframeembed=true&playerId=kaltura_player_1484154962&flashvars%5BstreamerType%5D=auto&flashvars%5BplaylistAPI.kpl0Id%5D=0_pmra4snw"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://cdnapisec.kaltura.com/html5/html5lib/v2.41/mwEmbedFrame.php/p/1770401/uiconf_id/34290512?wid=_1770401&iframeembed=true&playerId=kaltura_player_1484154962&flashvars%5BstreamerType%5D=auto&flashvars%5BplaylistAPI.kpl0Id%5D=0_pmra4snw']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.10
[debug] Python version 2.7.13 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2, ffprobe 3.2, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Invalid URL
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 427, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/kaltura.py", line 248, in _real_extract
    raise ExtractorError('Invalid URL', expected=True)
ExtractorError: Invalid URL

Trying the format from #12041 (see above) with parameters taken from URL:

~$ youtube-dl -v kaltura:1770401:0_pmra4snw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'kaltura:1770401:0_pmra4snw']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.10
[debug] Python version 2.7.13 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2, ffprobe 3.2, rtmpdump 2.4
[debug] Proxy map: {}
[Kaltura] 0_pmra4snw: Downloading video info JSON
ERROR: An extractor error has occurred. (caused by KeyError(u'dataUrl',)); 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 427, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/kaltura.py", line 266, in _real_extract
    data_url = info['dataUrl']
KeyError: u'dataUrl'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 440, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'dataUrl',)); 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.

I tried archiving a playlist from kaltura but it's not working... also tried the non-URL kaltura: format with with the IDs in the URL, but it gave me an extractor error and said to report.

Thanks for any help

@sg0001
Copy link
Author

@sg0001 sg0001 commented Mar 21, 2017

I was able to find the IDs by rooting around the source of the page, so I think this might just be a hole in the kaltura extractor.

Solved my issue, thanks though! Will leave this here in case someone figures out a fix.

@yan12125 yan12125 added the request label Apr 20, 2017
@yan12125 yan12125 changed the title kaltura playlist: invalid URL [kaltura] Support playlists Apr 20, 2017
@maxst33l
Copy link

@maxst33l maxst33l commented Jun 19, 2020

I was able to find the IDs by rooting around the source of the page, so I think this might just be a hole in the kaltura extractor.

Solved my issue, thanks though! Will leave this here in case someone figures out a fix.

@sg0001 How did you find the ID? were you able to figure out how to download a video from kaltura? please help :) thanks!
EDIT: I think I found the ID and such, but I still cannot figure out how to dl a kaltura video :(

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.