Skip to content

Commit

Permalink
facebook: add current_url
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Oct 8, 2024
1 parent 8b94ba2 commit c77a9ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions automon/integrations/facebook/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ def creation_date_timestamp(self):
# TODO: convert date to datetime timestamp
return

@property
def current_url(self):
return self._browser.current_url

def current_rate_too_fast(self):
if self.average_rate() == 0 or len(self.RATE_COUNTER) < 2:
logger.info(f'current_rate_too_fast :: False')
Expand Down

0 comments on commit c77a9ae

Please sign in to comment.