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

Authenticated daisuki.net #12434

Closed
bobobo1618 opened this issue Mar 12, 2017 · 0 comments
Closed

Authenticated daisuki.net #12434

bobobo1618 opened this issue Mar 12, 2017 · 0 comments

Comments

@bobobo1618
Copy link

@bobobo1618 bobobo1618 commented Mar 12, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.03.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

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

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'http://www.daisuki.net/us/en/anime/watch.TalesofZestiriatheX.16453.html']
[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.12 - Darwin-16.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg git-2017-02-28-7f62368, ffprobe git-2017-02-28-7f62368, rtmpdump 2.4
[debug] Proxy map: {}
[Daisuki] 16453: Downloading webpage
ERROR: Unable to extract flashvars; 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/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/daisuki.py", line 58, in _real_extract
    r'(?s)var\s+flashvars\s*=\s*({.+?});', webpage, 'flashvars'),
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 759, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract flashvars; 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.
<end of log>

Description of your issue, suggested solution and other information

When attempting to download a premium Daisuki video (in order to work around Flash), I receive the above error.

I also attempted to work around by using --add-header to add cookies and that results in the following:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--add-header', u'Cookie: PRIVATE']
[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.12 - Darwin-16.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg git-2017-02-28-7f62368, ffprobe git-2017-02-28-7f62368, rtmpdump 2.4
[debug] Proxy map: {}
[Daisuki] 16453: Downloading webpage
[Daisuki] 16453: Downloading JSON metadata
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #2)
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #3)
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #4)
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #5)
[Daisuki] 16453: Waiting for 5 seconds
ERROR: Failed to fetch init data; 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/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/daisuki.py", line 93, in _real_extract
    raise ExtractorError('Failed to fetch init data')
ExtractorError: Failed to fetch init data; 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 added in some debug code to see what was actually being returned in those JSON responses and I'm getting:

Failed a thing: {u'rcd': u'31', u'err_msg': u'Must By'}
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #2)
Failed a thing: {u'rcd': u'30', u'err_msg': u'error1', u'err': u'error:0906D06C:PEM routines:PEM_read_bio:no start line'}
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #3)
Failed a thing: {u'rcd': u'31', u'err_msg': u'Must By'}
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #4)
Failed a thing: {u'rcd': u'31', u'err_msg': u'error2'}
[Daisuki] 16453: Waiting for 5 seconds
[Daisuki] 16453: Downloading JSON metadata (try #5)
Failed a thing: {u'rcd': u'31', u'err_msg': u'Must By'}
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.