MCPcopy
hub / github.com/DropsDevopsOrg/ECommerceCrawlers / get

Method get

XianyuCrawler/asyxianyu.py:107–113  ·  view source on GitHub ↗
(self,url,payload)

Source from the content-addressed store, hash-verified

105 print('#' * 50)
106
107 async def get(self,url,payload):
108 async with aiohttp.ClientSession() as session:
109 async with session.get(url,params=payload) as resp:
110 print(resp.status)
111 print(resp.url)
112 result = await resp.text()
113 return result
114
115 async def request(self,keyword_obj):
116 keyword = keyword_obj.get('keyword')

Callers 15

requestMethod · 0.95
init_setMethod · 0.80
req_news_commandMethod · 0.80
_temp_tMethod · 0.80
configMethod · 0.80
check_pathMethod · 0.80
export_dataMethod · 0.80
updata_configMethod · 0.80
log_queueMethod · 0.80
errlog_queueMethod · 0.80
save_size_txtMethod · 0.80
init_setMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected