Skip to content

Commit

Permalink
Fix javbus title scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Jun 14, 2020
1 parent 0d6a368 commit 2ad1ac1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Javinizer/Private/Get-JavbusDataObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ function Get-JavbusTitle {
$title = ($WebRequest | ForEach-Object { $_ -split '\n' } |
Select-String '<title>(.*?) (.*?) - JavBus<\/title>').Matches.Groups[2].Value

$title = Convert-HtmlCharacter -String $title
} catch {
return
}

$title = Convert-HtmlCharacter -String $title
Write-Output $title
}
}
Expand Down

0 comments on commit 2ad1ac1

Please sign in to comment.