brendanjryan / instagram-saved-downloader

A small utility for downloading all of your saved images from Instagram.
16 stars 2 forks source link

Doesn't work #1

Open ThomasViennet-zz opened 6 years ago

ThomasViennet-zz commented 6 years ago

Hi,

Thank for your script. But it doesn't work anymore.

npm run

Scripts available in instagram-saved-downloader via `npm run-script`:
  run
    node index.js`

 node index.js 
`module.js:471
    throw err;
    ^

Error: Cannot find module 'bluebird'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/thomasviennet/Desktop/Projects/instagram-saved-downloader/index.js:2:17)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)`

Can you help me to use it ?

viksra commented 6 years ago

Not working

C:\Users\User\Documents\GitHub\instagram-saved-downloader>npm run

Scripts available in instagram-saved-downloader via `npm run-script`: run node index.js

Nothing shows up

brendanjryan commented 6 years ago

hi sorry about this! have you run npm install @ThomasViennet ?

ThomasViennet-zz commented 6 years ago

Hi,

Thanks for your help. I'm not sure, I have reclone your repo and retried : npm install

npm WARN deprecated tough-cookie@0.12.1: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN instagram-saved-downloader@0.0.1 No repository field.

added 87 packages from 112 contributors and audited 171 packages in 14.591s
found 3 vulnerabilities (1 low, 1 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

npm run

Scripts available in instagram-saved-downloader via `npm run-script`:
  run
    node index.js

node index.js

{ [CheckpointError: Instagram call checkpoint for this action!]
  json: 
   { message: 'challenge_required',
     challenge: 
      { url: 'https://i.instagram.com/challenge/6488448510/3GFY9HwNXJ/',
        api_path: '/challenge/6488448510/3GFY9HwNXJ/',
        hide_webview_header: true,
        lock: true,
        logout: false,
        native_flow: true },
     status: 'fail',
     error_type: 'checkpoint_challenge_required' },
  name: 'CheckpointError',
  message: 'Instagram call checkpoint for this action!',
  url: 'https://i.instagram.com/challenge/6488448510/3GFY9HwNXJ/',
  session: 
   Session {
     _device: 
      Device {
        username: 'chatoune_france',
        _md5int: 474398453775491,
        _api: 19,
        _release: '4.3.1',
        _dpi: '538',
        _resolution: '1440x2560',
        _info: [Object],
        _language: 'en_US' },
     _cookiesStore: 
      CookieMemoryStorage {
        storage: 
         { idx: { 'i.instagram.com': 
            { '/': 
               { rur: Cookie="rur=ATN; Path=/; hostOnly=true; aAge=117ms; cAge=117ms",
                 mid: Cookie="mid=W4lkqwABAAGn5-GLa0PCfxoSzPy_; Expires=Mon, 28 Aug 2028 15:54:21 GMT; Max-Age=315360000; Path=/; hostOnly=true; aAge=104ms; cAge=104ms",
                 urlgen: Cookie="urlgen="{}:1fvlkb:BLoAtyUdCWAzshkYAOVS50CKrcQ"; Path=/; hostOnly=true; aAge=109ms; cAge=109ms",
                 mcd: Cookie="mcd=3; Expires=Mon, 28 Aug 2028 15:54:21 GMT; Path=/; hostOnly=true; aAge=108ms; cAge=108ms",
                 csrftoken: Cookie="csrftoken=Mp9TrWA6douqmz3vyGRMBedbrNgaCGaQ; Expires=Fri, 30 Aug 2019 15:54:21 GMT; Max-Age=31449600; Path=/; Secure; hostOnly=true; aAge=107ms; cAge=107ms" } } } } },
     _jar: RequestJar { _jar: [Object] } } }
brendanjryan commented 6 years ago

@ThomasViennet it looks like your Instagram account has to finish an auth challenge to use this script? Have to tried following this url?

challenge: 
      { url: 'https://i.instagram.com/challenge/6488448510/3GFY9HwNXJ/'
ThomasViennet-zz commented 6 years ago

I'm not sure to understand. I tried to follow this url https://i.instagram.com/challenge/6488448510/3GFY9HwNXJ/ but nothing happen. I need to do something else ?

brendanjryan commented 6 years ago

@ThomasViennet it is likely that this challenge url is no longer valid for your account. Can you try running the script again?

dvgf commented 5 years ago

Each time the script runs, instagram wants you to verify via the challenge, so even if you verify, it'll ask you again next time you run the script.

yessure commented 4 years ago

hi everyone take a look here, it may help: https://github.com/igdmapps/igdm/issues/60#issuecomment-406131637