Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Jack-Cherish/python-spider
/ fetch_url
Function
fetch_url
baiduwenku_pro_1.py:9–10 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
7
8
9
def
fetch_url(url):
10
return
session.get(url).content.decode(
'gbk'
)
11
12
13
def
get_doc_id(url):
Callers
4
parse_doc
Function · 0.85
parse_txt
Function · 0.85
parse_other
Function · 0.85
main
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected