MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / studios_following_count

Method studios_following_count

scratchattach/site/user.py:517–523  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

515 return commons.webscrape_count(text, "Studios I Curate (", ")")
516
517 def studios_following_count(self):
518 with requests.no_error_handling():
519 text = requests.get(
520 f"https://scratch.mit.edu/users/{self.username}/studios_following/",
521 headers=self._headers,
522 ).text
523 return commons.webscrape_count(text, "Studios I Follow (", ")")
524
525 def studios(self, *, limit=40, offset=0) -> list[studio.Studio]:
526 _studios = commons.api_iterative(

Callers 1

test_userFunction · 0.80

Calls 2

no_error_handlingMethod · 0.45
getMethod · 0.45

Tested by 1

test_userFunction · 0.64