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

[screencast-o-matic] Support embedded players #11976

Closed
xczheng opened this issue Feb 5, 2017 · 2 comments
Closed

[screencast-o-matic] Support embedded players #11976

xczheng opened this issue Feb 5, 2017 · 2 comments
Labels

Comments

@xczheng
Copy link

xczheng commented Feb 5, 2017

youtube-dl -v http://screencast-o-matic.com/watch/cbV2r4Q5TL
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://screencast-o-matic.com/watch/cbV2r4Q5TL']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.02.01
[debug] Python version 3.6.0 - Linux-3.2.61-grsec-modsign-x86_64-with-debian-wheezy-sid
[debug] exe versions: avconv 0.8.17-4, avprobe 0.8.17-4, ffmpeg 3.2.2-static, ffprobe 3.2.2-static
[debug] Proxy map: {}
[ScreencastOMatic] cbV2r4Q5TL: Downloading webpage
ERROR: Unable to extract setup code; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 369, in extract
return self._real_extract(url)
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/extractor/screencastomatic.py", line 29, in _real_extract
r"(?s)jwplayer('mp4Player').setup(({.*?}));", webpage, 'setup code'),
File "/home/colinz/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 672, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract setup code; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@ThomasChr
Copy link
Contributor

Confirmed.
The video does not use the mp4player (which screencastomatic is supposed to use according to the extractor test) instead it uses Adobe Flash.

I'm not sure if youtube-dl has some tricks to download flash videos but at least for this URL there is a rewrite in the extractor code needed.

@yan12125
Copy link
Collaborator

yan12125 commented Feb 6, 2017

@yan12125 yan12125 changed the title screencast-o-matic download problem [screencast-o-matic] Support embedded players Feb 6, 2017
github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Apr 1, 2021
* https://github.com/ytdl-org/youtube-dl:
  [screencastomatic] fix extraction(closes ytdl-org#11976, closes ytdl-org#24489)
  [palcomp3] Add new extractor(closes ytdl-org#13120)
  [arnes] Add new extractor(closes ytdl-org#28483)
  [youtube:tab] Add support for hashtag videos extraction(closes ytdl-org#28308)
  release 2021.04.01
  [ChangeLog] Actualize [ci skip]
  [youtube] Setup CONSENT cookie when needed (closes ytdl-org#28604)
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants