Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix JSON parse error on X multi-video posts#41

Open
williamtwomey wants to merge 1 commit into
averygan:main from
williamtwomey:fix-x-multi-video
Open

Fix JSON parse error on X multi-video posts #41
williamtwomey wants to merge 1 commit into
averygan:main from
williamtwomey:fix-x-multi-video

Conversation

@williamtwomey

@williamtwomey williamtwomey commented May 3, 2026

Copy link
Copy Markdown

X/Twitter posts with multiple videos cause yt-dlp -j to emit one JSON object per line, which broke json.loads(result.stdout) with "Extra data: line 2 column 1". Parse stdout line-by-line and, when multiple entries are returned, surface them as separate cards in the UI so each video can be previewed and downloaded individually. Downloads target a single video via --playlist-items.

X/Twitter posts with multiple videos cause yt-dlp -j to emit one JSON
object per line, which broke json.loads(result.stdout) with "Extra data:
line 2 column 1". Parse stdout line-by-line and, when multiple entries
are returned, surface them as separate cards in the UI so each video
can be previewed and downloaded individually. Downloads target a single
video via --playlist-items.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /