1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-09-11 16:22:24 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
André Koch-Kramer
b0a6677c76 Update X-CSRFToken header when loading session 2016-07-28 15:52:28 +02:00
Alexander Graf
bd2514fcd5 Have default filename argument {load,save}_session 2016-07-28 15:41:33 +02:00
Alexander Graf
c69214536a Encode username in default session file name
Fixes #7.
2016-07-26 17:36:21 +02:00
Alexander Graf
a99d1875e5 Also save session when interrupted by user
Fixes #8.
2016-07-26 17:03:32 +02:00
Alexander Graf
087a69ef7e catch case of nonexisting session file 2016-07-26 17:03:20 +02:00
Alexander Graf
04821f5f76 print username in password prompt 2016-07-26 13:53:47 +02:00
Alexander Graf
283c05f47c print warning when public profiles are downloaded when logged in 2016-07-26 13:53:32 +02:00
Alexander Graf
590f327fc8 easier understandable error messages 2016-07-26 13:53:01 +02:00
Alexander Graf
1f7fe4ca2f load_session: don't double check if file can be opened 2016-07-26 13:52:05 +02:00
Alexander Graf
88219e4d01 Refactor exceptions
- Rename DownloaderException to InstaloaderException

- Introduce NonfatalException to make handling of these errors easier

- Avoid using of InstaloaderException directly

- Catch InstaloaderException and KeyboardInterrupt in main loop to exit
  cleanly without stack trace
2016-07-26 10:57:29 +02:00
Alexander Graf
57bb10f6b8 Rename instagram.py to instaloader.py 2016-07-25 23:59:47 +02:00