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

[Issue #601] Add is_business_account and business_category_name properties to Profile structure

This commit is contained in:
yolo 2020-05-05 19:29:01 +02:00 committed by Alexander Graf
parent 5e4b5fd877
commit dcba25a40e

View File

@ -654,6 +654,14 @@ class Profile:
def external_url(self) -> Optional[str]:
return self._metadata('external_url')
@property
def is_business_account(self) -> bool:
return self._metadata('is_business_account')
@property
def business_category_name(self) -> str:
return self._metadata('business_category_name')
@property
def biography(self) -> str:
return self._metadata('biography')