javinizer / Javinizer

(NSFW) Organize your local Japanese Adult Video (JAV) library
MIT License
566 stars 61 forks source link

Download of actress images from JavBus fails #316

Closed mimiku0 closed 2 years ago

mimiku0 commented 2 years ago

Expected Behavior

Actress Images get downloaded successfully from JavBus

Current Behavior

Actress Images with Japanese characters fail with a message like: Get-RunspaceData: [...]\PowerShell\Modules\Javinizer\2.5.9\Public\Invoke-JVParallel.ps1:568 Line | 568 | Get-RunspaceData -Wait | ~~~~~~ | Exception calling "EndInvoke" with "1" argument(s): "The running command stopped because the | preference variable "ErrorActionPreference" or common parameter is set to Stop: [n0001] [Set-JVMovie] | Error occurred when creating actress image files: Exception calling "DownloadFile" with "2" | argument(s): "Could not find file 'C:\imgs\actress\4l3.jpg'.""

Steps to Reproduce (for bugs)

Issue Fix: In file Scraper.Javbus.ps1 in line 279 changing ThumbUrl = $thumbUrl to ThumbUrl = 'https://www.javbus.com' + $thumbUrl (analog to the Else case (no Japanese characters) in line 314) fixes the issue.

Your Environment

jvlflame commented 2 years ago

Thanks for the detailed reproduction report and fix. I'll test this out and push out a new version with a fix when I have the chance.