Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def followers(self,user):
- followers = int(re.search(r'Followers \(([0-9]+)\)', requests.get(f'https://scratch.mit.edu/users/{user}/followers').text, re.I).group(1))
- return f'{followers} on [scratch](https://scratch.mit.edu/users/{user}/followers)'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement