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

AdobeConnect #21862

Open
betabrain opened this issue Jul 23, 2019 · 2 comments
Open

AdobeConnect #21862

betabrain opened this issue Jul 23, 2019 · 2 comments

Comments

@betabrain
Copy link

@betabrain betabrain commented Jul 23, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.07.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl --verbose http://neufeld.adobeconnect.com/p5yj0jakm0a/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://neufeld.adobeconnect.com/p5yj0jakm0a/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.16
[debug] Python version 3.7.4 (CPython) - Darwin-18.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, rtmpdump 2.4
[debug] Proxy map: {}
[AdobeConnect] p5yj0jakm0a: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('conStrings')); 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 "/Users/ta/Library/Python/3.7/lib/python/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/Users/ta/Library/Python/3.7/lib/python/site-packages/youtube_dl/extractor/adobeconnect.py", line 21, in _real_extract
    for con_string in qs['conStrings'][0].split(','):
KeyError: 'conStrings'
Traceback (most recent call last):
  File "/Users/ta/Library/Python/3.7/lib/python/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/Users/ta/Library/Python/3.7/lib/python/site-packages/youtube_dl/extractor/adobeconnect.py", line 21, in _real_extract
    for con_string in qs['conStrings'][0].split(','):
KeyError: 'conStrings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/ta/Library/Python/3.7/lib/python/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/Users/ta/Library/Python/3.7/lib/python/site-packages/youtube_dl/extractor/common.py", line 543, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('conStrings')); 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.

Description

I am trying to download this online lecture for offline study. Unfortunately the extractor fails.
As far as I can tell, there is no auth on this particular lecture, otherwise let me know.

@szacchino
Copy link

@szacchino szacchino commented May 19, 2020

On my machine, in file youtube_dl/extractor/adobeconnect.py I noticed that line 18 (of the current version) fails since the parameter is now an encoded url. Current line 18 is the following:

qs = compat_parse_qs(self._search_regex(r"swfUrl\s*=\s*'([^']+)'", webpage, 'swf url').split('?')[1])

I tryed to replace line 18 with the following and the code works; unfortunately rtmpdump fails:

from urllib.parse import unquote
...
...
qs = compat_parse_qs(self._search_regex(r"(?:')swfUrl\s*=\s*([^']+)(?:')", unquote(webpage), 'swf url').split('?')[1])

the import is also needed by my new line.

Maybe the proposed line needs more tuning.

@invertedzero
Copy link

@invertedzero invertedzero commented Jun 6, 2020

Same issue here. Not sure exactly what URL I'm meant to pass to it, but I can't get it to work for Adobe Connect and have exactly the same error

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.