Skip to content

Commit

Permalink
update userAgent to fix #354
Browse files Browse the repository at this point in the history
video_view_count is always returned as 0 in getMediasByUserId
  • Loading branch information
Mulkave committed May 7, 2018
1 parent 4433c50 commit 89e7a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InstagramScraper/Instagram.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Instagram
private $sessionPassword;
private $userSession;
private $rhxGis = null;
private $userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.106 Safari/537.36';
private $userAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36';

/**
* @param string $username
Expand Down

0 comments on commit 89e7a8c

Please sign in to comment.