SHOW:
|
|
- or go back to the newest paste.
| 1 | def followers(self,user): | |
| 2 | followers = int(re.search(r'Followers \(([0-9]+)\)', requests.get(f'https://scratch.mit.edu/users/{user}/followers').text, re.I).group(1))
| |
| 3 | - | if user == 'griffpatch' or user == 'Will_Wam' or user == 'WazzoTV': |
| 3 | + | return f'{followers} on [scratch](https://scratch.mit.edu/users/{user}/followers)' |