Skip to content

Commit

Permalink
Fix dmm matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 6, 2020
1 parent 611363e commit 999b9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Javinizer/Public/Get-DmmUrl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Get-DmmUrl {

$resultId = Get-DmmContentId -WebRequest $webRequest
Write-JVLog -Write:$script:JVLogWrite -LogPath $script:JVLogPath -WriteLevel $script:JVLogWriteLevel -Level Debug -Message "[$Id] [$($MyInvocation.MyCommand.Name)] Result [$count] is [$resultId]"
if ($resultId -match "^\d*$Id") {
if ($resultId -match "^(.*_)?\d*$Id") {
$directUrl = $result
break
}
Expand Down

0 comments on commit 999b9a1

Please sign in to comment.