TeamNewPipe / TeamNewPipe/NewPipeExtractor

Support for opening `watch_videos` playlist URLs

Open
#436 9 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement YouTube
Dominant language
Java
Stars
2k
Forks
602
Avg merge
3d 6h
Merged PRs (30d)
6

Description

Describe the feature you want

Following a URL like

https://www.youtube.com/watch_videos?video_ids=sjRTSkBHnyo,fhU5y7huAY8,9T_EqwQnZY0,FQKvro1Wz-E,BXLYIw-IU8I

...redirects with HTTP response 303 to a URL like

https://www.youtube.com/watch?v=sjRTSkBHnyo&list=TLGGTxknVJuOq2MxNzA1MjAyMA

As far as I know, the URLs redirected to expire after a while. (I had this result years ago.)

NewPipe should be able to open these links by simply following the redirect. For me, opening means scanning the QR code of a watch_videos URL and selecting NewPipe as the app to open it with.

Should NewPipe ever save opened playlist URLs somewhere to make them available to the user again, it should save the watch_videos URLs in this case.

Is your feature request related to a problem? Please describe it

Additional context
How will you/everyone benefit from this feature?

Being able to scan QR codes with watch_videos URLs and open them with NewPipe, instead of having to follow the redirect before creating the QR code, makes the process more versatile. If your QR code scanner has a history, you can open the URL later when the URL originally redirected to may already have expired.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by tracing the YouTube URL handling and redirect parsing in NewPipeExtractor, then identify how playlist URLs are recognized. Done means a watch_videos URL can be opened and its videos are handled as a playlist, with the original URL preserved if opened playlist URLs are saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.