somefixes
This commit is contained in:
parent
05967c1ce0
commit
8cac67986c
|
@ -47,7 +47,7 @@ async def get_network(author_id, limit=50, offset=0):
|
|||
if more_amount > 0:
|
||||
followers = get_followers(author_id, more_amount)
|
||||
except Exception as e:
|
||||
pass
|
||||
print(e)
|
||||
|
||||
return followings + followers
|
||||
|
||||
|
@ -67,6 +67,6 @@ async def get_followers(author_id, amount):
|
|||
return False, None
|
||||
r = response.json()
|
||||
followers = r.get("data", {}).get("authorFollowers", [])
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
followers = []
|
||||
return followers
|
||||
|
|
Loading…
Reference in New Issue
Block a user