mirror of
https://github.com/instaloader/instaloader.git
synced 2024-11-04 09:22:29 +01:00
Call download_stories in _error_catcher
download_stories() may trow a BadResponseException, which should not cause abortion of download_profile(). Now, all calls of download_stories() are within an _error_catcher context.
This commit is contained in:
parent
79f143b1f8
commit
ce38f5880f
@ -1159,6 +1159,7 @@ class Instaloader:
|
|||||||
|
|
||||||
# Download stories, if requested
|
# Download stories, if requested
|
||||||
if download_stories or download_stories_only:
|
if download_stories or download_stories_only:
|
||||||
|
with self._error_catcher("Download stories of {}".format(name)):
|
||||||
self.download_stories(userids=[profile_id], filename_target=name, fast_update=fast_update)
|
self.download_stories(userids=[profile_id], filename_target=name, fast_update=fast_update)
|
||||||
if download_stories_only:
|
if download_stories_only:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user