Skip to content

Commit

Permalink
Fix release date for dlgetchu (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 30, 2020
1 parent bef6f68 commit 9e0de6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Javinizer/Private/Scraper.DLgetchu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function Get-DLgetchuReleaseDate {
process {
try {
$releaseDate = ($Webrequest.Content | Select-String -Pattern '<td bgcolor="white" width="449">(\d{4}\/\d{2}\/\d{2})<\/td>').Matches.Groups[1].Value
$releaseDate = ($releaseDate -split '/') -join '-'
} catch {
return
}
Expand Down

0 comments on commit 9e0de6d

Please sign in to comment.