Skip to content

Fix regex to match quality case-insensitively for Doodstream#3002

Open
danzybae wants to merge 1 commit into
recloudstream:masterfrom
danzybae:patch-1
Open

Fix regex to match quality case-insensitively for Doodstream#3002
danzybae wants to merge 1 commit into
recloudstream:masterfrom
danzybae:patch-1

Conversation

@danzybae

@danzybae danzybae commented Jul 5, 2026

Copy link
Copy Markdown

The regex used to extract video quality (\d{3,4}p) only matched lowercase p, causing it to miss titles that use uppercase P (e.g. 1080P instead of 1080p). As a result, the quality value would return null for those cases.

Updated the quality regex from \d{3,4}p to \d{3,4}[pP] so it matches the resolution suffix regardless of case (p or P).

@danzybae danzybae changed the title Fix regex to match quality case insensitively Fix regex to match quality case-insensitively for Doodstream Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant