Skip to content

[YouTube] Refactor some extraction code using Optional#1384

Open
Isira-Seneviratne wants to merge 9 commits intoTeamNewPipe:devfrom
Isira-Seneviratne:Refactor-Optional
Open

[YouTube] Refactor some extraction code using Optional#1384
Isira-Seneviratne wants to merge 9 commits intoTeamNewPipe:devfrom
Isira-Seneviratne:Refactor-Optional

Conversation

@Isira-Seneviratne
Copy link
Member


Refactor some of the helper methods in YoutubeParsingHelper to return Optional, which allows the number of lines of code to be significantly reduced.

# Conflicts:
#	extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java
#	extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java
@ShareASmile ShareASmile added the codequality Improvements to the codebase to improve the code quality label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codequality Improvements to the codebase to improve the code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants