Skip to content

Commit

Permalink
Merge pull request #166 from jvlflame/dev
Browse files Browse the repository at this point in the history
2.2.3
  • Loading branch information
jvlflame committed Dec 23, 2020
2 parents 838e83e + 7d28da8 commit e5a0b37
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/CHANGELOG.md
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.3]

### Fixed

- Additional fixes to Dmm ID matcher

## [2.2.2]

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Javinizer.psd1
Expand Up @@ -13,7 +13,7 @@

# Version number of this module.

ModuleVersion = '2.2.2'
ModuleVersion = '2.2.3'

# Supported PSEditions
# CompatiblePSEditions = @('Core')
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Private/Scraper.Dmm.ps1
Expand Up @@ -6,7 +6,7 @@ function Get-DmmContentId {

process {
try {
$contentId = ($Url | Select-String -Pattern 'cid=(.*)(\/)?').Matches.Groups[1].Value
$contentId = (($Url | Select-String -Pattern 'cid=(.*)(\/)?').Matches.Groups[1].Value -split '/')[0]
} catch {
return
}
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Public/Get-DmmUrl.ps1
Expand Up @@ -75,7 +75,7 @@ function Get-DmmUrl {

$resultId = Get-DmmId -Url $result
Write-JVLog -Write:$script:JVLogWrite -LogPath $script:JVLogPath -WriteLevel $script:JVLogWriteLevel -Level Debug -Message "[$originalId] [$($MyInvocation.MyCommand.Name)] Result [$count] is [$resultId]"
if ($resultId -eq "$Id") {
if ($resultId -eq $originalId) {
$directUrl = $result
break
}
Expand Down

0 comments on commit e5a0b37

Please sign in to comment.