Skip to content

Commit

Permalink
Fix actress scraper on dmm (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Dec 12, 2020
1 parent a07e88d commit eae0db0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Javinizer/Private/Scraper.Dmm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,12 @@ function Get-DmmActress {
}

foreach ($actress in $movieActress) {
$lastName = $null
$firstName = $null
$engActressUrl = "https://www.dmm.co.jp/en/mono/dvd/-/list/=/article=actress/id=$($actress.Groups[1].Value)/"
$jaActressUrl = "https://www.dmm.co.jp/mono/dvd/-/list/=/article=actress/id=$($actress.Groups[1].Value)/"
$actressName = $actress.Groups[2].Value
if ($actress -match '[\u3040-\u309f]|[\u30a0-\u30ff]|[\uff66-\uff9f]|[\u4e00-\u9faf]') {
if ($actressName -match '[\u3040-\u309f]|[\u30a0-\u30ff]|[\uff66-\uff9f]|[\u4e00-\u9faf]') {
if ($ScrapeActress) {
$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession
$cookie = New-Object System.Net.Cookie
Expand Down

0 comments on commit eae0db0

Please sign in to comment.