Skip to content

Commit

Permalink
fix image parsing issue with user favorites [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Irfan committed Jan 28, 2020
1 parent 2b33709 commit 0433506
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Parser/User/Profile/FavoritesParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function (Crawler $crawler) {
$crawler->filterXPath('//div[position() = 2]/a')->text(),
$crawler->filterXPath('//div[position() = 2]/a')->attr('href'),
Parser::parseImageQuality($crawler->filterXPath('//div[position() = 1]/a/img')
->attr('data-src'))
->attr('src'))
);
}
);
Expand All @@ -76,7 +76,7 @@ function (Crawler $crawler) {
$crawler->filterXPath('//div[position() = 2]/a')->text(),
$crawler->filterXPath('//div[position() = 2]/a')->attr('href'),
Parser::parseImageQuality($crawler->filterXPath('//div[position() = 1]/a/img')
->attr('data-src'))
->attr('src'))
);
}
);
Expand All @@ -96,7 +96,7 @@ function (Crawler $crawler) {
$crawler->filterXPath('//div[position() = 2]/a')->text(),
$crawler->filterXPath('//div[position() = 2]/a')->attr('href'),
Parser::parseImageQuality($crawler->filterXPath('//div[position() = 1]/a/img')
->attr('data-src'))
->attr('src'))
);
}
);
Expand All @@ -116,7 +116,7 @@ function (Crawler $crawler) {
$crawler->filterXPath('//div[position() = 2]/a')->text(),
$crawler->filterXPath('//div[position() = 2]/a')->attr('href'),
Parser::parseImageQuality($crawler->filterXPath('//div[position() = 1]/a/img')
->attr('data-src'))
->attr('src'))
);
}
);
Expand Down

0 comments on commit 0433506

Please sign in to comment.