remotes/1693045480750635534/spooky-22
Aevann1 2021-12-17 08:17:34 +02:00
parent b3b193c45f
commit 0af51e3809
1 changed files with 7 additions and 1 deletions

View File

@ -443,6 +443,12 @@ class User(Base):
return data
@property
@lazy
def full_profileurl(self):
if self.profile_url.startswith('/'): return 'https://rdrama.net' + self.profile_url
return self.profile_url
@property
@lazy
def json_raw(self):
@ -452,7 +458,7 @@ class User(Base):
'created_utc': self.created_utc,
'id': self.id,
'is_private': self.is_private,
'profile_url': self.profile_url,
'profile_url': self.full_profileurl,
'bannerurl': self.banner_url,
'bio': self.bio,
'bio_html': self.bio_html_eager,