New Profile.from_id() that works without posts

The old method needed the target profile to have at least one post.
The new method works anonymously even for private profiles.
Closes #249.
This commit is contained in:
André Koch-Kramer committed 2019-02-10 17:46:18 +01:00
1 parent 34416298a0
commit 9e04ef3436
3 files changed
+26 -16

No files matched your search

+4
View File
@@ -22,6 +22,10 @@ class ProfileNotExistsException(InstaloaderException):
class ProfileHasNoPicsException(InstaloaderException):
"""
.. deprecated:: 4.2.2
Not raised anymore.
"""
pass