Skip to content

Commit

Permalink
Fixed poster grabbing for DMM's amateur site
Browse files Browse the repository at this point in the history
  • Loading branch information
seeyabye committed Sep 25, 2020
1 parent f8473e6 commit 4014a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Javinizer/Private/Scraper.Dmm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function Get-DmmCoverUrl {

process {
try {
$coverUrl = ($Webrequest.Content | Select-String -Pattern '(https:\/\/pics\.dmm\.co\.jp\/(mono\/movie\/adult|digital\/video)\/(.*)/(.*)\.jpg)').Matches.Groups[1].Value -replace 'ps.jpg', 'pl.jpg'
$coverUrl = ($Webrequest.Content | Select-String -Pattern '(https:\/\/pics\.dmm\.co\.jp\/(mono\/movie\/adult|digital\/(?:video|amateur))\/(.*)\/(.*)\.jpg)').Matches.Groups[1].Value -replace 'ps.jpg', 'pl.jpg'
} catch {
return
}
Expand Down

0 comments on commit 4014a0d

Please sign in to comment.