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.com support #3236

Closed
Nikoli opened this issue Jul 11, 2014 · 6 comments
Closed

screencast.com support #3236

Nikoli opened this issue Jul 11, 2014 · 6 comments

Comments

@Nikoli
Copy link
Contributor

@Nikoli Nikoli commented Jul 11, 2014

Please add support for http://screencast.com/

@phihag
Copy link
Contributor

@phihag phihag commented Jul 11, 2014

Please read our guide for bug reporting. In particular, we need an example URL - http://screencast.com/ does not show any videos for me.

@phihag phihag closed this in 38ad119 Jul 11, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jul 11, 2014

Thank you for the report. youtube-dl 2014.07.11.2 and newer now include support for screencast. Type youtube-dl -U to update.

I've tested this with these two URLs, but feel free to report more - there may be more than one video type.

@Nikoli
Copy link
Contributor Author

@Nikoli Nikoli commented Jul 11, 2014

Thank you for adding support so fast, but a lot urls do not work:

$ youtube-dl --verbose http://www.screencast.com/t/V2uXehPJa1ZI
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.screencast.com/t/V2uXehPJa1ZI']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.11.2
[debug] Python version 2.7.6 - Linux-3.14
[debug] Proxy map: {}
[Screencast] V2uXehPJa1ZI: Downloading webpage
ERROR: Unable to extract flash vars; 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/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 168, in extract
    return self._real_extract(url)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/screencast.py", line 33, in _real_extract
    r'<param name="flashVars" value="([^"]+)"', webpage, 'flash vars')
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 394, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 384, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract flash vars; 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.
$ youtube-dl --verbose http://www.screencast.com/t/bxEMmrJDi
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.screencast.com/t/bxEMmrJDi']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.11.2
[debug] Python version 2.7.6 - Linux-3.14
[debug] Proxy map: {}
[Screencast] bxEMmrJDi: Downloading webpage
ERROR: Unable to extract flash vars; 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/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 168, in extract
    return self._real_extract(url)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/screencast.py", line 33, in _real_extract
    r'<param name="flashVars" value="([^"]+)"', webpage, 'flash vars')
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 394, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 384, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract flash vars; 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.

These random videos from site:screencast.com, most of them do not work:
http://www.screencast.com/t/aAB3iowa
http://www.screencast.com/t/ee7qBLFUBv
http://www.screencast.com/t/BrlWxmckTd3
http://www.screencast.com/t/tH7VyaR9

phihag added a commit that referenced this issue Jul 11, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jul 11, 2014

See? Now you know why site support request should include example URLs :)

youtube-dl 2014.07.11.3 adds support for all of these screencast.com videos with the exception of http://www.screencast.com/t/tH7VyaR9, which is not a video, but an SWF presentation.

@cfxd
Copy link

@cfxd cfxd commented Jan 14, 2016

Hi there, thank you guys for working on this handy tool. I came across this related thread when trying to grab a screencast.com video file. Here's my command line output:

$ youtube-dl --verbose http://screencast.com/t/fQLBHT22A
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://screencast.com/t/fQLBHT22A']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.01.09
[debug] Python version 2.7.11 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.4, ffprobe 2.8.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] fQLBHT22A: Requesting header
WARNING: Falling back on generic information extractor.
[generic] fQLBHT22A: Downloading webpage
[generic] fQLBHT22A: Extracting information
ERROR: Unsupported URL: http://screencast.com/t/fQLBHT22A
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1289, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 248, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 237, in _XML
    parser.feed(text)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 34, column 71
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 665, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 312, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1908, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://screencast.com/t/fQLBHT22A
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.