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

[Funimation] betting-on-the-handshake-event: Failed to parse JSON No JSON object could be decoded #26773

Open
Disinterpreter opened this issue Oct 2, 2020 · 3 comments

Comments

@Disinterpreter
Copy link

@Disinterpreter Disinterpreter commented Oct 2, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.09.20
  • 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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.funimation.com/shows/tsukiuta-the-animation/betting-on-the-handshake-event/?qid=d4ad92c7c2d924b', u'--verbose']
[debug] Encodings: locale US-ASCII, fs utf-8, out US-ASCII, pref US-ASCII
[debug] youtube-dl version 2020.09.20
[debug] Python version 2.7.16 (CPython) - Darwin-19.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[Funimation] betting-on-the-handshake-event: Downloading webpage
WARNING: [Funimation] betting-on-the-handshake-event: Failed to parse JSON No JSON object could be decoded
ERROR: Unable to extract al:web:url; 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 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/funimation.py", line 100, in _real_extract
    ], webpage, fatal=True)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1140, in _html_search_meta
    html, display_name, fatal=fatal, group='content', **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1019, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract al:web:url; 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.
PASTE VERBOSE LOG HERE

Description

There is a problem with downloading from Funimation.

@october262
Copy link

@october262 october262 commented Oct 3, 2020

install the firefox addon called the stream detector
to get the m3u8 playlists. set it to youtub-dl command
click copy the url and paste into the terminal

@Disinterpreter
Copy link
Author

@Disinterpreter Disinterpreter commented Oct 3, 2020

install the firefox addon called the stream detector
to get the m3u8 playlists. set it to youtub-dl command
click copy the url and paste into the terminal

Oh... Sorry I found solving the problem.

I add a user-agent and cookies for it works.

youtube-dl --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36" --cookies funimation-cookies.txt 'animelink'

P.S I suggest to add a notify in parser about users have to add ua and cookies arguments. The message notify people for adding arguments and they won't to create duplicate issues.

@novasharper
Copy link

@novasharper novasharper commented Oct 17, 2020

That does not seem to be working for me, which is odd since just using straight cURL with a cookiejar works for fetching the video metadata.

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.