althonos / InstaLooter

Another API-less Instagram pictures and videos downloader.
GNU General Public License v3.0
2.01k stars 256 forks source link

SystemError: Login error: Token not found #367

Closed KalikHub closed 1 year ago

KalikHub commented 1 year ago

Library version

instalooter v2.4.4

Environment

Expected behaviour

What's supposed to happen

sorry im new to this, but i assume its supposed to log into the account i suppose and then download videos off the followed accounts but it seems to stop at the login,

Actual behaviour

What's actually happening

(I used changed files from here: https://github.com/althonos/InstaLooter/pull/359/files/4fea8dff020bfd653a991eb8e9306c894798f016 )

Traceback (most recent call last):
  File "C:\Users\user\OneDrive\Desktop\BotTuber\botTuber.py", line 335, in <module>
    attemptRoutine()
  File "C:\Users\user\OneDrive\Desktop\BotTuber\botTuber.py", line 326, in attemptRoutine
    routine(title, description, tags)
  File "C:\Users\user\OneDrive\Desktop\BotTuber\botTuber.py", line 151, in routine
    scrapeVideos(username = IG_USERNAME,
  File "C:\Users\user\OneDrive\Desktop\BotTuber\scrape_videos.py", line 59, in scrapeVideos
    scrape_videos_fn()
  File "C:\Users\user\OneDrive\Desktop\BotTuber\scrape_videos.py", line 34, in scrape_videos_fn
    looter.login(username, password)
  File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instalooter\looters.py", line 547, in login
    self._login(username, password, session=self.session)
  File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\instalooter\looters.py", line 180, in _login
    raise SystemError('Login error: Token not found')
SystemError: Login error: Token not found