MCPcopy
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
9def fetch_url(url):
10 return session.get(url).content.decode('gbk')
11
12
13def get_doc_id(url):

Callers 4

parse_docFunction · 0.85
parse_txtFunction · 0.85
parse_otherFunction · 0.85
mainFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected