Error when using --all-subs with --dump-json on playlist #2975

Closed
opened 2026-02-20 23:12:14 -05:00 by deekerman · 2 comments
Owner

Originally created by @ghost on GitHub (Sep 2, 2014).

Dear Developers

This is example play list:
http://www.youtube.com/playlist?list=PLd30401eOBwbE8xeoQZtO1VbUP3AX5Q1U

When I'm using this command line I got invalid output. Please checkout this issue.

./youtube-dl --all-subs --dump-json http://www.youtube.com/playlist?list=PLd30401eOBwbE8xeoQZtO1VbUP3AX5Q1U

Thank you.

Originally created by @ghost on GitHub (Sep 2, 2014). **Dear Developers** This is example play list: `http://www.youtube.com/playlist?list=PLd30401eOBwbE8xeoQZtO1VbUP3AX5Q1U` When I'm using this command line I got invalid output. Please checkout this issue. ``` ./youtube-dl --all-subs --dump-json http://www.youtube.com/playlist?list=PLd30401eOBwbE8xeoQZtO1VbUP3AX5Q1U ``` Thank you.
Author
Owner

@jaimeMF commented on GitHub (Sep 2, 2014):

What do you mean by invalid output? I get a json dictionary for each video, if you want to get a single array of dictionaries, you can use youtube-dl --all-subs --dump-json 'http://www.youtube.com/playlist?list=PLd30401eOBwbE8xeoQZtO1VbUP3AX5Q1U' | jq -s .(you'll need jq)

@jaimeMF commented on GitHub (Sep 2, 2014): What do you mean by invalid output? I get a json dictionary for each video, if you want to get a single array of dictionaries, you can use `youtube-dl --all-subs --dump-json 'http://www.youtube.com/playlist?list=PLd30401eOBwbE8xeoQZtO1VbUP3AX5Q1U' | jq -s .`(you'll need [jq](https://stedolan.github.io/jq/))
Author
Owner

@ghost commented on GitHub (Sep 2, 2014):

I'm very sorry.

I'm tested my command lines on terminal. So, I got confuse.

It works perfectly.

Thank you very much for your awesome support.

@ghost commented on GitHub (Sep 2, 2014): I'm very sorry. I'm tested my command lines on terminal. So, I got confuse. It works perfectly. Thank you very much for your awesome support.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#2975
No description provided.