mirror of
https://github.com/instaloader/instaloader.git
synced 2026-11-01 04:55:32 -08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65462b01ec | ||
|
|
9857c5fa24 | ||
|
|
83f013f6ca | ||
|
|
e7437310ea | ||
|
|
dcba25a40e |
@@ -1,7 +1,7 @@
|
|||||||
"""Download pictures (or videos) along with their captions and other metadata from Instagram."""
|
"""Download pictures (or videos) along with their captions and other metadata from Instagram."""
|
||||||
|
|
||||||
|
|
||||||
__version__ = '4.4b1'
|
__version__ = '4.4.1'
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ def _main(instaloader: Instaloader, targetlist: List[str],
|
|||||||
for followee in profile.get_followees():
|
for followee in profile.get_followees():
|
||||||
instaloader.save_profile_id(followee)
|
instaloader.save_profile_id(followee)
|
||||||
profiles.add(followee)
|
profiles.add(followee)
|
||||||
elif re.match(r"^#[A-Za-z0-9]+$", target):
|
elif re.match(r"^#\w+$", target):
|
||||||
instaloader.download_hashtag(hashtag=target[1:], max_count=max_count, fast_update=fast_update,
|
instaloader.download_hashtag(hashtag=target[1:], max_count=max_count, fast_update=fast_update,
|
||||||
post_filter=post_filter,
|
post_filter=post_filter,
|
||||||
profile_pic=download_profile_pic, posts=download_posts)
|
profile_pic=download_profile_pic, posts=download_posts)
|
||||||
|
|||||||
@@ -654,6 +654,16 @@ class Profile:
|
|||||||
def external_url(self) -> Optional[str]:
|
def external_url(self) -> Optional[str]:
|
||||||
return self._metadata('external_url')
|
return self._metadata('external_url')
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_business_account(self) -> bool:
|
||||||
|
""".. versionadded:: 4.4"""
|
||||||
|
return self._metadata('is_business_account')
|
||||||
|
|
||||||
|
@property
|
||||||
|
def business_category_name(self) -> str:
|
||||||
|
""".. versionadded:: 4.4"""
|
||||||
|
return self._metadata('business_category_name')
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def biography(self) -> str:
|
def biography(self) -> str:
|
||||||
return self._metadata('biography')
|
return self._metadata('biography')
|
||||||
|
|||||||
Reference in New Issue
Block a user