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

svtplay #9831

Closed
GaramMasala opened this issue Jun 19, 2016 · 2 comments
Closed

svtplay #9831

GaramMasala opened this issue Jun 19, 2016 · 2 comments

Comments

@GaramMasala
Copy link

@GaramMasala GaramMasala commented Jun 19, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • [x ] I've verified and I assure that I'm running youtube-dl 2016.06.19.1

youtube-dl --version 2016.06.19.1

Before submitting an issue make sure you have:

  • [x ] 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?

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


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:

uname 10.3-RELEASE-p4 FreeBSD

youtube-dl -i -k --restrict-filenames --all-subs -v http://www.svtplay.se/video/8169501/bron/bron-sasong-1-avsnitt-4
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-i', u'-k', u'--restrict-filenames', u'--all-subs', u'-v', u'http://www.svtplay.se/video/8169501/bron/bron-sasong-1-avsnitt-4']
[debug] Encodings: locale ISO8859-15, fs ISO8859-15, out ISO8859-15, pref ISO8859-15
[debug] youtube-dl version 2016.06.19.1
[debug] Python version 2.7.11 - FreeBSD-10.3-RELEASE-p4-amd64-64bit-ELF
[debug] exe versions: ffmpeg 2.8.7, ffprobe 2.8.7, rtmpdump 2.4
[debug] Proxy map: {}
[SVTPlay] 8169501: Downloading JSON metadata
ERROR: 8169501: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); 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/extractor/common.py", line 544, in _parse_json
return json.loads(json_string)
File "/usr/local/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 342, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/svt.py", line 124, in _real_extract
video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/svt.py", line 14, in _extract_video
info = self._download_json(url, video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 538, in _download_json
json_string, video_id, transform_source=transform_source, fatal=fatal)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 548, in _parse_json
raise ExtractorError(errmsg, cause=ve)
ExtractorError: 8169501: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); 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.

youtube-dl -U
youtube-dl is up-to-date (2016.06.19.1)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 19, 2016

Duplicate of #9809.

@dstftw dstftw closed this Jun 19, 2016
@GaramMasala
Copy link
Author

@GaramMasala GaramMasala commented Jun 19, 2016

No it's not a duplicate.

youtube-dl -i -k --restrict-filenames --all-subs 'http://svtplay16o-f.akamaihd.net/i/se/open/20160429/1137710-001A/PG-1137710-001A-BRON-04_,988,240,348,456,636,1680,2796,.mp4.csmil/master.m3u8'

That works, but is saved as master-master.mp4 and no subtitles are downloaded.

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
2 participants
You can’t perform that action at this time.