TeamNewPipe / TeamNewPipe/NewPipeExtractor

ChannelInfo.getId() returns "channel/theIdXYZ" instead of "theIdXYZ"

Open
#212 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I wanted to ask if the behaviour described in the title is inteded or not. To me it seems wrong and can be easily changes here by changing YoutubeChannelLinkHandlerFactory.getId() from
return splitPath[0] + "/" + id;
to
return id;

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

Review extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeChannelLinkHandlerFactory.java at getId(), starting with the current path-splitting logic. Confirm whether the returned channel ID should include the "channel/" prefix, then make the behavior match the intended format: "theIdXYZ" rather than "channel/theIdXYZ".

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.