Skip to content

Commit

Permalink
Merge pull request #360 from chistaesse/patch-1
Browse files Browse the repository at this point in the history
Update Media.php
  • Loading branch information
raiym authored Apr 23, 2018
2 parents 7afc32b + fe91cc8 commit 8153e49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/InstagramScraper/Model/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,9 @@ protected function initPropertiesCustom($value, $prop, $arr)
$this->type = static::TYPE_IMAGE;
}
break;
case 'thumbnail_src':
$this->imageThumbnailUrl = $value;
break;
case 'carousel_media':
$this->type = self::TYPE_CAROUSEL;
$this->carouselMedia = [];
Expand Down

0 comments on commit 8153e49

Please sign in to comment.