scraper-instagram
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -144,9 +144,6 @@ 'use strict'; | ||
} | ||
setAccountStoryAsRead(){ | ||
// | ||
} | ||
getProfile(username = this.username, anonymous = false){ | ||
return new Promise((resolve, reject) => self.get(username, anonymous ? null : this.sessionId) | ||
.then(profile => { | ||
const access = profile['is_private'] ? !!profile['followed_by_viewer'] : true; | ||
const access = !profile['is_private'] || !!profile['followed_by_viewer'] || profile['username'] === this.username; | ||
resolve({ | ||
@@ -153,0 +150,0 @@ id: profile['id'], |
{ | ||
"name": "scraper-instagram", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Instagram scraper without authenticated API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -452,2 +452,3 @@ # ig-scraper | ||
* `1.0.12` (2020-06-16) • Small fix & refactor | ||
* `1.0.13` (2020-07-10) • Added support for stories | ||
* `1.0.13` (2020-07-10) • Added support for stories | ||
* `1.0.14` (2020-10-17) • Fixed access to own private profile |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
453
47347
482