ryan-jan / MSCatalog

PowerShell module for searching and downloading offline updates from https://www.catalog.update.microsoft.com
MIT License
58 stars 16 forks source link

Fix regex for download links and allow download of all matching files. #16

Closed pyrostew closed 2 years ago

pyrostew commented 2 years ago

14

xxbiohazrdxx commented 2 years ago

I'd prefer to keep merges limited to correcting a single issue/implementing a single feature. Mind resubmitting with just the regex change?

pyrostew commented 2 years ago

@xxbiohazrdxx I have updated this PR to just include the Regex fix. and created #20 to cover the extra feature.

xxbiohazrdxx commented 2 years ago

Thanks

ITSNOTSTUPIDIFITWORKS commented 2 years ago

This is not in the actual code!

The fixed part is missing.

$Regex = "(http[s]?\:\/\/dl.delivery.mp.microsoft.com\/[^\'\""])|(http[s]?\:\/\/.+download.windowsupdate.com\/[^\'\""])"