TeamNewPipe / TeamNewPipe/NewPipeExtractor
ChannelInfo.getId() returns "channel/theIdXYZ" instead of "theIdXYZ"
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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