Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/drathier/stack-overflow-import
/ _fetch_code
Method
_fetch_code
stackoverflow/__init__.py:71–73 ·
view source on GitHub ↗
(cls, url)
Source
from the content-addressed store, hash-verified
69
70
@classmethod
71
def
_fetch_code(cls, url):
72
q = requests.get(url)
73
return
cls._find_code_in_html(q.text)
74
75
@staticmethod
76
def
_find_code_in_html(s):
Callers
2
find_spec
Method · 0.80
get_code
Method · 0.80
Calls
1
_find_code_in_html
Method · 0.80
Tested by
no test coverage detected