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

Failed to parse JSON #20302

Closed
h19e8 opened this issue Mar 10, 2019 · 2 comments
Closed

Failed to parse JSON #20302

h19e8 opened this issue Mar 10, 2019 · 2 comments

Comments

@h19e8
Copy link

@h19e8 h19e8 commented Mar 10, 2019

Failed to parse JSON from Any Xtube Profile pages.
"https://www.xtube.com/profile/12345" is fake.

  • I've verified and I assure that I'm running youtube-dl 2019.03.09
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser
  • 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
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.xtube.com/profile/12345']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2019.03.09
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-93151-gff03418348
[debug] Proxy map: {}
[XTubeUser] 12345: Downloading videos JSON page 1
ERROR: 12345: Failed to parse JSON (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\common.py", line 891, in parse_json
File "C:\Python\Python34\lib\json_init.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\common.py", line 891, in parse_json
File "C:\Python\Python34\lib\json_init.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\YoutubeDL.py", line 794, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\common.py", line 522, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\xtube.py", line 164, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\common.py", line 884, in _download_json
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\common.py", line 868, in _download_json_handle
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy110f8qy\build\youtube_dl\extractor\common.py", line 895, in _parse_json
youtube_dl.utils.ExtractorError: 12345: Failed to parse JSON (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); 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>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

  • Single video:
  • Single video:
  • Playlist:

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

[XTubeUser] 12345: Downloading videos JSON page 1
ERROR: 12345: Failed to parse JSON (caused by ValueError('Expecting value: line 1 column 1 (char 0)',));

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 10, 2019

> py -2.7 .\youtube_dl\__main__.py http://www.xtube.com/profile/greenshowers-4056496 -F
[XTubeUser] greenshowers-4056496: Downloading videos JSON page 1
[XTubeUser] greenshowers-4056496: Downloading videos JSON page 2
[XTubeUser] greenshowers-4056496: Downloading videos JSON page 3
[XTubeUser] greenshowers-4056496: Downloading videos JSON page 4
[download] Downloading playlist: greenshowers-4056496
[XTubeUser] playlist greenshowers-4056496: Collected 154 video ids (downloading 154 of them)
[download] Downloading video 1 of 154
[XTube] IVcRV-G675-: Downloading webpage
@h19e8
Copy link
Author

@h19e8 h19e8 commented Mar 10, 2019

Thankyou response.
I try change "ip".
sucess!

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.