Advertisement
paster442

get followers

Sep 5th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def followers(user):
  2.     return int(re.search(r"Followers \(([0-9]+)\)", requests.get(f"https://scratch.mit.edu/users/{user}/followers").text, re.I).group(1))
  3.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement