File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414 # Version number of this module.
1515
16- ModuleVersion = ' 2.6.3 '
16+ ModuleVersion = ' 2.6.4 '
1717
1818 # Supported PSEditions
1919 # CompatiblePSEditions = @('Core')
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ function Get-DmmMaker {
152152
153153 process {
154154 try {
155- $maker = ($WebRequest.Content | Select-String - Pattern ' <a.*? href="[^"]*\?maker=(\d+)".*?>([^<]+ )</a>' ).Matches.Groups[2 ].Value
155+ $maker = ($WebRequest.Content | Select-String - Pattern ' <a[^>]* href="[^"]*(?: \?maker=|/article=maker/id=) (\d+)[^"]*"[^>]*>([\s\S]*? )</a>' ).Matches.Groups[2 ].Value
156156 } catch {
157157 return
158158 }
@@ -168,7 +168,7 @@ function Get-DmmLabel {
168168
169169 process {
170170 try {
171- $label = ($WebRequest.Content | Select-String - Pattern ' <a.*? href="[^"]*\?label=(\d+)".*?>([^<]+ )</a>' ).Matches.Groups[2 ].Value
171+ $label = ($WebRequest.Content | Select-String - Pattern ' <a[^>]* href="[^"]*(?: \?label=|/article=label/id=) (\d+)[^"]*"[^>]*>([\s\S]*? )</a>' ).Matches.Groups[2 ].Value
172172 } catch {
173173 return
174174 }
Original file line number Diff line number Diff line change @@ -288,6 +288,8 @@ function Get-R18DevCoverUrl {
288288
289289 process {
290290 $coverUrl = $Webrequest.jacket_full_url
291+ # Swap ps.jpg (poster small) with pl.jpg (poster large)
292+ $coverUrl = $coverUrl -replace ' ps\.jpg' , ' pl.jpg'
291293
292294 Write-Output $coverUrl
293295 }
You can’t perform that action at this time.
0 commit comments