Skip to content

Commit

Permalink
Fix dmm URL on id with suffix of z and e (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 23, 2020
1 parent 9b3a6a1 commit f9eaa38
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 @@ -83,7 +83,7 @@ function Get-DmmUrl {

$splitJaIdNum = (($jaId | Select-String -Pattern '\d{5}[zZ]?[eE]?').Matches.Groups[0].Value) -replace '^0*', ''
if (($splitJaIdNum)[-1] -match '\D') {
$appendChar = ($splitIdJaIdNum)[-1]
$appendChar = ($splitJaIdNum)[-1]
$splitJaIdNum = $splitJaIdNum -replace '\D', ''
}

Expand Down

0 comments on commit f9eaa38

Please sign in to comment.