We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4972b19 commit 370f6c3Copy full SHA for 370f6c3
1 file changed
scratchattach/site/user.py
@@ -243,11 +243,12 @@ def follower_count(self):
243
244
def following_count(self):
245
# following count
246
- text = requests.get(
247
- f"https://scratch.mit.edu/users/{self.username}/following/",
248
- headers = self._headers
249
- ).text
250
- return commons.webscrape_count(text, "Following (", ")")
+ with requests.no_error_handling():
+ text = requests.get(
+ f"https://scratch.mit.edu/users/{self.username}/following/",
+ headers = self._headers
+ ).text
251
+ return commons.webscrape_count(text, "Following (", ")")
252
253
def followers(self, *, limit=40, offset=0):
254
"""
0 commit comments