Profile class abstracting profile structure

This commit is contained in:
Alexander Graf
2018-03-18 16:31:32 +01:00
parent 279de0a641
commit 760688d9e6
2 changed files with 228 additions and 140 deletions

View File

@@ -37,8 +37,8 @@ certain source::
L.download_post(post, target='#cat')
Besides :func:`Instaloader.get_hashtag_posts`, there is
:func:`Instaloader.get_feed_posts`, :func:`Instaloader.get_profile_posts` and
:func:`Instaloader.get_saved_posts`.
:func:`Instaloader.get_feed_posts`, :func:`Profile.get_posts` and
:func:`Profile.get_saved_posts`.
Also, :class:`Post` instances can be created with :func:`Post.from_shortcode`
and :func:`Post.from_mediaid`.
@@ -77,6 +77,12 @@ contribution to
.. autoclass:: Instaloader
:no-show-inheritance:
``Profile`` Class
^^^^^^^^^^^^^^^^^
.. autoclass:: Profile
:no-show-inheritance:
``Post`` Class
^^^^^^^^^^^^^^