We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32553fd commit 4972b19Copy full SHA for 4972b19
1 file changed
scratchattach/site/user.py
@@ -234,11 +234,12 @@ def featured_data(self):
234
235
def follower_count(self):
236
# follower count
237
- text = requests.get(
238
- f"https://scratch.mit.edu/users/{self.username}/followers/",
239
- headers = self._headers
240
- ).text
241
- return commons.webscrape_count(text, "Followers (", ")")
+ with requests.no_error_handling():
+ text = requests.get(
+ f"https://scratch.mit.edu/users/{self.username}/followers/",
+ headers = self._headers
+ ).text
242
+ return commons.webscrape_count(text, "Followers (", ")")
243
244
def following_count(self):
245
# following count
0 commit comments