Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

ERROR: None: Failed to parse JSON (caused by JSONDecodeError('Expecting property name enclosed in double quotes: line 1 column 3 (char 2)')) #84

Open
11 tasks
ndraden opened this issue Apr 6, 2019 · 1 comment

Comments

@ndraden
Copy link

ndraden commented Apr 6, 2019

i have error when download videos, how to solve this? just some videos, everything is fine.
👍🏻 CONTENT.md created.

[lynda] 737619: Downloading video JSON
[lynda] 737619: Checking 0-720 video format URL
[lynda] 737619: Checking 0-540 video format URL
[lynda] 737619: Checking 0-360 video format URL
[lynda] 737619: Checking 1-720 video format URL
[lynda] 737619: Checking 1-540 video format URL
[lynda] 737619: Checking 1-360 video format URL
ERROR: None: Failed to parse JSON (caused by JSONDecodeError('Expecting property name enclosed in double quotes: line 1 column 3 (char 2)')); 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.

🔰 Renaming video/subtitle files

Please follow the guide below

  • You will be asked some question, please read them carefully
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run git pull to update your version from Lyndor directory

Before submitting an issue make sure you have:

  • At least skimmed through the README

What is the purpose of your issue?

  • Bug report (encountered problems with Lyndor) 🪲
  • Feature request (request for a new functionality) ☝️
  • Question ❓
  • Other

If the purpose of this issue is a bug report, or you are not completely sure then provide the full terminal output as follows:

Copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

Traceback (most recent call last):
  File "/Users/pi/Projects/lyndor/run.py", line 130, in <module>
    main()
  File "/Users/pi/Projects/lyndor/run.py", line 35, in main
    schedule_download(url)
  File "/Users/pi/Projects/lyndor/run.py", line 51, in schedule_download
    download_course(url)
  File "/Users/pi/Projects/lyndor/run.py", line 78, in download_course
    course_folder_path = save.course_path(url, lynda_folder_path)
NameError: global name 'save' is not defined

Answer questions related to your Environment which will help in reproducing the issue:

The issue was encountered on: 💻

  • MacOS
  • Windows
  • Linux

Login method:

  • Regular login (username + password)
  • Organization login (cookies.txt)
  • cookies.txt + Library login(for exercise file)

Enter the python version you are using for download. Find your python version by typing in terminal python -V

  • python (version) [replace (version) with your python version like: python 3.6.3]

If the purpose of this issue is a bug report please provide all kinds of example URLs where you encountered issues (replace following example URLs by yours):


Description of your issue, suggested a 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.

@jawidjrs
Copy link

I think this error might be occurred because of the title of the course has special characters in it. I tried my self this : "Become a CompTIA A+ (220-1001 and 220-1002) Certified Technician" and got the same error. but this "Motivating Your Team to Learn" and this "Motivating Your Team to Learn" were completely normal download without any error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants