instagram-crawling
Advanced tools
Comparing version 1.0.0 to 1.0.2
const instagram = require('./src/InstagramCrawler') | ||
instagram.getTagMedia('kiev', 5).then(media => { | ||
instagram.getTagMedia('lion', 1).then(media => { | ||
console.log(media); | ||
}, error => console.error(error)); | ||
instagram.getProfileMedia('instagram', 5).then(media => { | ||
console.log(media); | ||
}, error => console.error(error)); | ||
// instagram.getProfileMedia('instagram', 5).then(media => { | ||
// console.log(media); | ||
// }, error => console.error(error)); |
{ | ||
"name": "instagram-crawling", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "Crawling Instagram Media without auth", | ||
"main": "src/Instagram.js", | ||
"main": "src/InstagramCrawler.js", | ||
"dependencies": { | ||
@@ -7,0 +7,0 @@ "async": "^2.6.0", |
@@ -119,3 +119,3 @@ const axios = require('axios') | ||
headers: { | ||
'cookie': 'ig_pr=1; rur=FRC;', | ||
'cookie': 'mid=WsvjiwAEAAEow-ksxKKJPO8TBHo5; sessionid=IGSCc41d5e1a3f8d95ae49b7c25c1d4ccd0856e48bb7af5b69adbe1346c686d3f777%3AXpL0LQarPGcVx14i5NoQYzqtVpf4gNWn%3A%7B%22_auth_user_id%22%3A6998326555%2C%22_auth_user_backend%22%3A%22accounts.backends.CaseInsensitiveModelBackend%22%2C%22_auth_user_hash%22%3A%22%22%2C%22_platform%22%3A4%2C%22_token_ver%22%3A2%2C%22_token%22%3A%226998326555%3AhaDqkVyskRYCaJxqbdDN0URuTKybjwBi%3A6499f933ef250e57fbee79bd1e2da2dd87d19a272ae97f8b6acf21ab24ad4373%22%2C%22last_refreshed%22%3A1523347417.2379405499%7D; ig_pr=1; ig_vw=1861; ig_vh=1110; ig_or=landscape-primary; shbid=16738; rur=ATN; csrftoken=kWeyexTJ7WHRuOdNEHerqnoT8ekmmud8; ds_user_id=6998326555', | ||
'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', | ||
@@ -122,0 +122,0 @@ } |
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
10349
10
198