Browse Source

Fixed parrallel loop

master
parent
commit
b2d68b2140
Signed by: beepboopbelong <beepboopbelong@firemail.cc> GPG Key ID: B873A12869A7BD29
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/sites/nhentai.d

+ 1
- 1
source/sites/nhentai.d View File

@@ -88,7 +88,7 @@ class NHentai : BaseSite

// Loop over the range in parallel to make it faster
auto range = new int[pageNumber];
foreach(i; parallel(range))
foreach(i, ref element; parallel(range))
{
// Craft the url with all parameters
string extractedUrl = imageUrl ~ contentIDMatch ~ "/" ~ to!string(i) ~ ".jpg";


Loading…
Cancel
Save