Skip to content

[YouTube] Refactor some extraction code using Optional#1384

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

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

Conversation

@Isira-Seneviratne
Copy link
Copy Markdown
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 code quality Improvements to the codebase to improve the code quality label Jan 29, 2026
# Conflicts:
#	extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeMetaInfoHelper.java
#	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
#	extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemExtractor.java
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality Improvements to the codebase to improve the code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants